OSDN Git Service

Use non-literal format for possibly non-standard strftime formats.
authorAndrew Dunstan <andrew@dunslane.net>
Thu, 28 Apr 2011 23:58:49 +0000 (19:58 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Thu, 28 Apr 2011 23:58:49 +0000 (19:58 -0400)
commitc49e4ae1f886e74efb4bc94c09b993098232d5f9
tree2572df19e3ab44d6d14aa28a0d4bc47c6243ac19
parentab0ba6e73ae9b3c9956126bdcd3c410238a27244
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.
src/interfaces/ecpg/pgtypeslib/timestamp.c