diff options
author | Tom Lane | 2015-12-01 16:42:25 +0000 |
---|---|---|
committer | Tom Lane | 2015-12-01 16:42:25 +0000 |
commit | db4a5cfc76206db82d0b929d96c53de229ef1aa4 (patch) | |
tree | 45cb70967aa31c960e3f660ad0351faf7032788b /src/test/perl/RecursiveCopy.pm | |
parent | 2287b874546931e2f33cddcafff2bde58459da1b (diff) |
Use "g" not "f" format in ecpg's PGTYPESnumeric_from_double().
The previous coding could overrun the provided buffer size for a very large
input, or lose precision for a very small input. Adopt the methodology
that's been in use in the equivalent backend code for a long time.
Per private report from Bas van Schaik. Back-patch to all supported
branches.
Diffstat (limited to 'src/test/perl/RecursiveCopy.pm')
0 files changed, 0 insertions, 0 deletions