Re: Is timestamptz alias documented?

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Chris <ctlajoie(at)gmail(dot)com>, pgsql-docs <pgsql-docs(at)postgresql(dot)org>
Subject: Re: Is timestamptz alias documented?
Date: 2010-12-14 22:02:38
Message-ID: AANLkTi=MPx0Cg6d9YQyud6y9GvyV2RKRvVt0tFO=D3TE@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Tue, Dec 7, 2010 at 2:20 PM, Alvaro Herrera
<alvherre(at)commandprompt(dot)com> wrote:
> Excerpts from Tom Lane's message of mar dic 07 15:35:53 -0300 2010:
>> Chris <ctlajoie(at)gmail(dot)com> writes:
>
>> > Is this a new alias, or
>> > has it been around for some time?
>>
>> It's been around since the '90s I'm sure, maybe even back to Berkeley days.
>
> It appeared later; "timestamp" was the alias for "timestamp with time
> zone" previously.  But this was against the SQL standard so the new
> alias was introduced as a backwards incompatible change.  There are no
> hits for a "grep -r timestamptz src/backend" in 7.1, but they are there
> in 7.2.  2002 or so, then.

I think it'd be helpful to make brief mention of this in the section
on "Date/Time Types", perhaps along the lines of the attached patch.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Attachment Content-Type Size
timestamptz-doc.patch application/octet-stream 998 bytes

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Fujii Masao 2010-12-15 00:17:02 Re: Obsolete description in pg_ctl-ref.sgml
Previous Message Robert Haas 2010-12-14 21:35:28 Re: Obsolete description in pg_ctl-ref.sgml