pgsql: Use non-literal format for possibly non-standard strftime format

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема pgsql: Use non-literal format for possibly non-standard strftime format
Дата
Msg-id E1QFbAt-0006QI-MA@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Fix pg_size_pretty() to avoid overflow for inputs close to INT64
Следующее
От: itagaki@pgfoundry.org (User Itagaki)
Дата:
Сообщение: reorg - pg_reorg: Fixed database corruption when target tables have