diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2016-03-14 14:38:36 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2016-03-14 14:38:44 -0400 |
commit | f3f3aae4b7841f4dc51129691a7404a03eb55449 (patch) | |
tree | f11852dce43fdb7906466cec03bd3625a5b1bc6d /contrib/postgres_fdw/postgres_fdw.c | |
parent | 6be84eeb8d5a72014b1b6e44d0646f69531a1ccf (diff) | |
download | postgresql-f3f3aae4b7841f4dc51129691a7404a03eb55449.tar.gz postgresql-f3f3aae4b7841f4dc51129691a7404a03eb55449.zip |
Improve conversions from uint64 to Perl types.
Perl's integers are pointer-sized, so can hold more than INT_MAX on LP64
platforms, and come in both signed (IV) and unsigned (UV). Floating
point values (NV) may also be larger than double.
Since Perl 5.19.4 array indices are SSize_t instead of I32, so allow up
to SSize_t_max on those versions. The limit is not imposed just by
av_extend's argument type, but all the array handling code, so remove
the speculative comment.
Dagfinn Ilmari Mannsåker
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions