Re: psql patch for datestyle

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
Cc: PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: psql patch for datestyle
Date: 2003-03-03 14:32:43
Message-ID: 6405.1046701963@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Oliver Elphick <olly(at)lfix(dot)co(dot)uk> writes:
> 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.

I have forgotten: will an ISO-style date be read in correctly regardless
of the datestyle setting at load time? Or do we need to make pg_dump
issue SET DATESTYLE in the dump script as well?

regards, tom lane

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2003-03-03 14:42:11 Re: pg_autovacuum (pg_avd version 2)
Previous Message Rod Taylor 2003-03-03 13:59:34 Re: Off topic - was Re: ALTER SEQUENCE