aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistvalidate.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2019-06-06 14:14:29 +0200
committerPeter Eisentraut <peter@eisentraut.org>2019-07-04 17:01:43 +0200
commit6a1cd8b9236dcfa91b40af3a8337859e16ba7113 (patch)
treed28df515cafc7354c03588285edf9b1e7ad7656d /src/backend/access/gist/gistvalidate.c
parent7b925e12703652fef63a2fbbb28d3407b2971d6e (diff)
downloadpostgresql-6a1cd8b9236dcfa91b40af3a8337859e16ba7113.tar.gz
postgresql-6a1cd8b9236dcfa91b40af3a8337859e16ba7113.zip
Unwind some workarounds for lack of portable int64 format specifier
Because there is no portable int64/uint64 format specifier and we can't stick macros like INT64_FORMAT into the middle of a translatable string, we have been using various workarounds that put the number to be printed into a string buffer first. Now that we always use our own sprintf(), we can rely on %lld and %llu to work, so we can use those. This patch undoes this workaround in a few places where it was egregiously verbose. Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://www.postgresql.org/message-id/flat/CAH2-Wz%3DWbNxc5ob5NJ9yqo2RMJ0q4HXDS30GVCobeCvC9A1L9A%40mail.gmail.com
Diffstat (limited to 'src/backend/access/gist/gistvalidate.c')
0 files changed, 0 insertions, 0 deletions