pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Carolyn Lu Wong <carolyn@greatpacific.com.au>
Cc: pgsql-sql@postgresql.org <pgsql-sql@postgresql.org>
Subject: Re: Question about 'copy' and datetime
Date: Mon, 22 Jan 2001 00:34:37 -0500
Message-ID: <17361.980141677@sss.pgh.pa.us> (raw)
In-Reply-To: <3A6BB23E.46FBE132@greatpacific.com.au>
References: <3A6BB23E.46FBE132@greatpacific.com.au>

Carolyn Lu Wong <carolyn@greatpacific.com.au> writes:
> I find that when I try to restore a backup database (done by pg_dump),
> the datetime value seem inconsistent. I've checked the dumped file,
> the data seems alright. However, the imported date is +16hr of the
> date in the data file.

> The system uses EST. The data dumped also has EST postfix. Is this a
> bug or there are other options I need to set?

Given your return address, I'm betting this is a conflict between USA
and Aussie interpretations of "EST".  You probably need to recompile
with USE_AUSTRALIAN_RULES #defined.  See
http://www.postgresql.org/users-lounge/docs/7.0/postgres/datetime-appendix.htm

			regards, tom lane



view thread (2+ messages)

Message-ID: <17361.980141677@sss.pgh.pa.us>
Permalink:  ../17361.980141677@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/17361.980141677@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, carolyn@greatpacific.com.au
  Subject: Re: Question about 'copy' and datetime
  In-Reply-To: <17361.980141677@sss.pgh.pa.us>
  References: <3A6BB23E.46FBE132@greatpacific.com.au> <17361.980141677@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox