]> granicus.if.org Git - postgresql/commit
At present, dates are put into a dump in the format specified by the
authorBruce Momjian <bruce@momjian.us>
Thu, 20 Mar 2003 07:05:21 +0000 (07:05 +0000)
committerBruce Momjian <bruce@momjian.us>
Thu, 20 Mar 2003 07:05:21 +0000 (07:05 +0000)
commitcf4cee1b17d71f59efb0b47c79357e102f542257
tree01b3ecdd463cf73bc597ba4993f1abac0ac6326f
parent5f65225fa37bd244ee5487448ac542b2b2f47296
At present, dates are put into a dump in the format specified by the
default datestyle.  This is not portable between installations.

This patch sets DATESTYLE to ISO at the start of a pg_dump, so that the
dates written into the dump will be restorable onto any database,
regardless of how its default datestyle is set.

Oliver Elphick
src/bin/pg_dump/pg_dump.c