Re: Preserving Timestamp Information

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Lola Lee <lola(at)his(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Preserving Timestamp Information
Date: 2005-07-16 14:58:01
Message-ID: 25605.1121525881@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Lola Lee <lola(at)his(dot)com> writes:
> How can I preserve timestamp for a set of data? I'm using PostgreSQL
> 8.02. I had to do a dump of my database and then at a later date I
> imported the data I had in several tables. Here's an example:

> yw_id weight yarnweight_lud
> --
> 1 Cobweb 2005-01-13 15:21:50.654149
> 2 Lace Weight 2005-01-13 15:21:50.654149
> 3 Sock 2005-01-13 15:21:50.654149

> When I use the import wizard for Aqua Data Studio, it sets all values
> for yarnweight_lud to NULL.

That sounds like a pretty brain-dead "wizard".

Why don't you just use the dump file as it was designed to be used,
ie, feed it to pg_dump (or pg_restore, depending on format).

regards, tom lane

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2005-07-16 15:10:57 Re: Preserving Timestamp Information
Previous Message Keith Worthington 2005-07-16 12:40:34 Re: User Context Variables