public inbox for [email protected]
help / color / mirror / Atom feedFrom: Jim Nasby <[email protected]>
To: AgentM <[email protected]>
Cc: PostgreSQL-development hackers <[email protected]>
Subject: Re: timestamptz alias
Date: Mon, 2 Oct 2006 21:26:51 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
<[email protected]>
On Oct 2, 2006, at 6:22 PM, AgentM wrote:
> On Oct 2, 2006, at 18:15 , Markus Schaber wrote:
>> I'm happy that the rather verbose "timestamp with time zone" has the
>> much nicer alias "timestamptz", however it seems that this alias
>> is not
>> documented, neither at
>> http://developer.postgresql.org/pgdocs/postgres/datatype-
>> datetime.html
>> nor at http://www.postgresql.org/docs/8.1/interactive/datatype-
>> datetime.html
>>
>> I see it mentioned at
>> http://www.postgresql.org/docs/8.1/interactive/datatype.html but
>> that's
>> possibly not where people look at first, when they search for the
>> timestamp type. (At least I found it only when grepping for
>> "timestamptz" in the docs. :-)
>>
>> Should the alias be mentioned on the datetime page? The same for
>> timetz?
>> What do you think?
>
> I am pleased that the documentation promotes database-independent
> ("standard") SQL.
There's a difference between promoting and withholding info. I'd
rather see us explicitly state which is preferred and why.
BTW, another confusing example is all the string functions that are
essentially the same, such as substring and substr. (http://
www.postgresql.org/docs/8.1/interactive/functions-string.html)
--
Jim Nasby [email protected]
EnterpriseDB http://enterprisedb.com 512.569.9461 (cell)
view thread (18+ messages) latest in thread
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 using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: timestamptz alias
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox