aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/arrayfuncs.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2014-05-26 22:23:29 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2014-05-26 22:23:29 -0400
commit9d7ded0f4277f5c0063eca8e871a34e2355a8371 (patch)
tree0dbc4696911056784657bdb67e040590ba5fa136 /src/backend/utils/adt/arrayfuncs.c
parentbf2e70ba6c0175e5a676b6aa37e49915d8918a63 (diff)
downloadpostgresql-9d7ded0f4277f5c0063eca8e871a34e2355a8371.tar.gz
postgresql-9d7ded0f4277f5c0063eca8e871a34e2355a8371.zip
Avoid unportable usage of sscanf(UINT64_FORMAT).
On Mingw, it seems that scanf() doesn't necessarily accept the same format codes that printf() does, and in particular it may fail to recognize %llu even though printf() does. Since configure only probes printf() behavior while setting up the INT64_FORMAT macros, this means it's unsafe to use those macros with scanf(). We had only one instance of such a coding pattern, in contrib/pg_stat_statements, so change that code to avoid the problem. Per buildfarm warnings. Back-patch to 9.0 where the troublesome code was introduced. Michael Paquier
Diffstat (limited to 'src/backend/utils/adt/arrayfuncs.c')
0 files changed, 0 insertions, 0 deletions