postgresql/contrib/pg_stat_statements
Tom Lane c8186b3c22 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
2014-05-26 22:23:42 -04:00
..
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:06 +02:00
Makefile Add contrib/pg_stat_statements for server-wide tracking of statement execution 2009-01-04 22:19:59 +00:00
pg_stat_statements.c Avoid unportable usage of sscanf(UINT64_FORMAT). 2014-05-26 22:23:42 -04:00
pg_stat_statements.sql.in Add buffer access counters to pg_stat_statements. 2010-01-08 00:38:20 +00:00
uninstall_pg_stat_statements.sql Add contrib/pg_stat_statements for server-wide tracking of statement execution 2009-01-04 22:19:59 +00:00