pgsql: Use non-literal format for possibly non-standard strftime format - Mailing list pgsql-committers

From Andrew Dunstan
Subject pgsql: Use non-literal format for possibly non-standard strftime format
Date
Msg-id E1QFbAt-0006QI-MA@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Use non-literal format for possibly non-standard strftime formats.

Per recent -hackers discussion. The formats in question are %G and %V,
and cause warnings on MinGW at least. We assume the ecpg application
knows what it's doing if it passes these formats to the library.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/c49e4ae1f886e74efb4bc94c09b993098232d5f9

Modified Files
--------------
src/interfaces/ecpg/pgtypeslib/timestamp.c |   42 +++++++++++++++++----------
1 files changed, 26 insertions(+), 16 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql: Fix pg_size_pretty() to avoid overflow for inputs close to INT64
Next
From: itagaki@pgfoundry.org (User Itagaki)
Date:
Subject: reorg - pg_reorg: Fixed database corruption when target tables have