OSDN Git Service

Suppress timezone (%Z) part of timestamp display when running on Windows,
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 21 Nov 2006 22:19:46 +0000 (22:19 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 21 Nov 2006 22:19:46 +0000 (22:19 +0000)
commit5fc2d7e45148b92ea082356b425562c3cb971954
tree03030dddac7a5e321ad206de5412b7830c889453
parentc714e5cba7ae76e9f4c7fbeedb6dcb4f203e708b
Suppress timezone (%Z) part of timestamp display when running on Windows,
because on that platform strftime produces localized zone names in varying
encodings.  Even though it's only in a comment, this can cause encoding
errors when reloading the dump script.  Per suggestion from Andreas
Seltenreich.  Also, suppress %Z on Windows in the %s escape of
log_line_prefix ... not sure why this one is different from the other two,
but it shouldn't be.
src/backend/utils/error/elog.c
src/bin/pg_dump/pg_backup_archiver.c
src/bin/pg_dump/pg_dumpall.c