pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Carolyn Lu Wong <carolyn@greatpacific.com.au>
To: pgsql-sql@postgresql.org <pgsql-sql@postgresql.org>
Subject: Question about 'copy' and datetime
Date: Mon, 22 Jan 2001 15:08:30 +1100
Message-ID: <3A6BB23E.46FBE132@greatpacific.com.au> (raw)

I'm using V6.5.

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?

fyi, the command used in the backup script

	pg_dump -c -u -f $BACKUP_FILE $DATABASE

and the command used in the restore script

	psql -e -u -f $BACKUP_FILE  $DATABASE



view thread (2+ messages)  latest in thread

Message-ID: <3A6BB23E.46FBE132@greatpacific.com.au>
Permalink:  ../3A6BB23E.46FBE132@greatpacific.com.au/
Also on:    postgresql.org/message-id/3A6BB23E.46FBE132@greatpacific.com.au

 · 

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: carolyn@greatpacific.com.au
  Subject: Re: Question about 'copy' and datetime
  In-Reply-To: <3A6BB23E.46FBE132@greatpacific.com.au>
  References: <3A6BB23E.46FBE132@greatpacific.com.au>

* 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