Suppress timezone (%Z) part of timestamp display when running on Windows,

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 5fc2d7e45148b92ea082356b425562c3cb971954
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2006-11-21T22:19:46Z
Releases: 8.2.0
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.

Files

PathChange+/−
src/backend/utils/error/elog.c modified +7 −2
src/bin/pg_dump/pg_backup_archiver.c modified +14 −2
src/bin/pg_dump/pg_dumpall.c modified +14 −2