Re: pl/pgSQL, get diagnostics and big data - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pl/pgSQL, get diagnostics and big data
Date
Msg-id 1841.1457817171@sss.pgh.pa.us
Whole thread Raw
In response to Re: pl/pgSQL, get diagnostics and big data  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Grzegorz Sampolski
Date:
Subject: Re: pam auth - add rhost item
Next
From: Haribabu Kommi
Date:
Subject: Re: pam auth - add rhost item