summaryrefslogtreecommitdiff
path: root/src/include/regex/regexport.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2015-12-01 11:42:25 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2015-12-01 11:42:43 -0500
commit3e6e98c5a8551e3b90bbc82d5bdad2f574a6f508 (patch)
treed9d9f81c9850eb4405b3722e012dd2cab1582192 /src/include/regex/regexport.h
parent6823bc282943b44a57cdde3921621f7d83598d83 (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/include/regex/regexport.h')
0 files changed, 0 insertions, 0 deletions