| От | Tom Lane |
|---|---|
| Тема | Re: pl/pgSQL, get diagnostics and big data |
| Дата | |
| Msg-id | 1841.1457817171@sss.pgh.pa.us обсуждение |
| Ответ на | Re: pl/pgSQL, get diagnostics and big data (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-hackers |
I wrote:
> 2. As I was just complaining to -hackers, plpython plperl and pltcl
> all now contain attempts to pass uint64 values (from SPI_processed)
> into language-specific functions. We need to figure out whether
> that will overflow and whether it's worth doing something about.
I fixed this along the lines suggested by Salvador Fandino, viz convert
to the language's equivalent of "double" if it wouldn't fit in int
or long respectively. Tcl turns out to have a native int64 type
("WideInt") so that was slightly less messy.
I've pushed this so we can get some buildfarm testing, but it wouldn't
be a bad idea for someone to review the committed patch. Chasing all
the dependencies was tedious and I'm still not real sure I found them
all.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера