I'd like to have pg_dump for 7.1 produce "timestamp with time zone" when
dealing with timestamp type(s). That will prepare us for introducing a
timestamp type without time zones, while allowing reasonable upgrades to
7.2.

Comments? Would a pg_dump guru be willing to take this on? Should be
"easy", since afaik we already map some internal types to external
SQL-standard names...

                     - Thomas

Mon, 05 Feb 2001 17:00:48 +0000
Thomas Lockhart <lockhart@alumni.caltech.edu>
timestamp in pg_dump
Thomas Lockhart writes:

> I'd like to have pg_dump for 7.1 produce "timestamp with time zone" when
> dealing with timestamp type(s). That will prepare us for introducing a
> timestamp type without time zones, while allowing reasonable upgrades to
> 7.2.
>
> Comments? Would a pg_dump guru be willing to take this on? Should be
> "easy", since afaik we already map some internal types to external
> SQL-standard names...

Did that.

But given that 'timestamp' is really 'timestamp with time zone' and there
is no 'timestamp without time zone', isn't there something wrong with the
documentation?  See User's Guide, table 3-6:

http://www.postgresql.org/devel-corner/docs/postgres/datatype-datetime.htm


-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/


Mon, 5 Feb 2001 18:43:46 +0100 (CET)
Peter Eisentraut <peter_e@gmx.net>
Re: timestamp in pg_dump
> > I'd like to have pg_dump for 7.1 produce "timestamp with time zone" when
> > dealing with timestamp type(s). That will prepare us for introducing a
> > timestamp type without time zones, while allowing reasonable upgrades to
> > 7.2.
> Did that.

Great!

> But given that 'timestamp' is really 'timestamp with time zone' and there
> is no 'timestamp without time zone', isn't there something wrong with the
> documentation?  See User's Guide, table 3-6:

Hmm. Not sure *where* some of that info came from; perhaps it is a
holdover from when timestamp was implemented as a 4 byte integer. Or it
was space aliens ;) Will update asap. Thanks for catching it...

                 - Thomas

Tue, 06 Feb 2001 04:46:47 +0000
Thomas Lockhart <lockhart@alumni.caltech.edu>
Re: timestamp in pg_dump