Re: timestamptz alias

From: Markus Schaber <schabi(at)logix-tt(dot)com>
To: PostgreSQL-development hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: timestamptz alias
Date: 2006-10-04 15:52:17
Message-ID: 4523D8B1.7050007@logix-tt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-hackers

Hi, Andrew,

Andrew Dunstan wrote:

>> It's not only about documenting the pure existence of the aliases (which
>> was already documented in the table on the datatype TOC page), it's also
>> about telling the user which of the names are the ones to avoid, and the
>> reasons to do so.
>
> *blink* Why do any need to be avoided? What you use is a matter of
> taste, and your organisation's coding standards. From a purely technical
> POV I don't see any reason to avoid using either the canonical type
> names or the various aliases.

At least compatibility with the SQL standard, as well as with other
Databases might be a reason.

Using pure "timestamp" may lead human readers to be confused, because it
has both meanings with and without timezone historically, this might be
a reason to prefer the "timestamp with[out] time zone" wording.

HTH,
Markus

--
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf. | Software Development GIS

Fight against software patents in Europe! www.ffii.org
www.nosoftwarepatents.org

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Andreas Seltenreich 2006-10-05 00:53:17 Re: Texinfo docs/target
Previous Message Andrew Dunstan 2006-10-04 14:17:51 Re: timestamptz alias

Browse pgsql-hackers by date

  From Date Subject
Next Message Zeugswetter Andreas DCP SD 2006-10-04 15:58:44 Re: [PATCHES] vcbuild bison check
Previous Message Tom Lane 2006-10-04 15:23:16 Re: [PATCHES] vcbuild bison check