Re: Domain Support -- another round - Mailing list pgsql-patches

From Thomas Lockhart
Subject Re: Domain Support -- another round
Date
Msg-id 3C9A05E0.B39B1A20@fourpalms.org
Whole thread Raw
In response to Re: Domain Support -- another round  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-patches
> SQL'99 explicitly forbids it.  Please refer to my posting to HACKERS
> for the SQL document reference.

The fact that a standard "forbids" something does not necessarily mean
it is a bad idea, as I'm sure you know. Is there any reason that the
standard forbids using domains inside arrays, other than someone on the
standards committee realized that it would be hard for their company to
implement it? That is, does allowing domains in arrays lead to
inconsistancies or fundamental issues with relational algebra or other
set logic that should keep it out of the next set of standards?

If Postgres was developed to only the current standard, it would never
have been written. And since the start of the open source days, if we
had worked solely to get it to conform to the current standard we'd be
starting at ground zero for implementing SQL99, since many of our
features now appear in that standard. Someone cheated and looked at what
we could already do... ;)

                     - Thomas

pgsql-patches by date:

Previous
From: Ferdinand Smit
Date:
Subject: Re: pg_dump and transactions
Next
From: Fernando Nasser
Date:
Subject: Re: Domain Support -- another round