pgsql-server/src/bin/pg_dump pg_dump.c

Started by Bruce Momjianover 23 years ago1 messagescomitters
Jump to latest
#1Bruce Momjian
bruce@momjian.us

CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: momjian@postgresql.org 03/03/20 02:05:21

Modified files:
src/bin/pg_dump: pg_dump.c

Log message:
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