Re: why isn't TEXT a key word? - Mailing list pgsql-general

From Tom Lane
Subject Re: why isn't TEXT a key word?
Date
Msg-id 24881.1074204006@sss.pgh.pa.us
Whole thread Raw
In response to why isn't TEXT a key word?  (culley harrelson <culley@fastmail.fm>)
List pgsql-general
culley harrelson <culley@fastmail.fm> writes:
> I thought it was strange that TEXT, a data type, is not a key word.

Why would you think that?  Given that Postgres has an extensible type
system, we'd hardly want type names to be keywords.  They're just
identifiers.

We do have keywords for some types that are mandated to have special
syntax by the SQL spec, such as "character varying(n)", because they
need special processing in the grammar.

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Bytea/Large Objects/external files best practices
Next
From: Jan Wieck
Date:
Subject: Re: How are NULLS stored on disk for PG 7.4?