Re: stand-alone composite types patch (was [HACKERS] Proposal: stand-alone composite types) - Mailing list pgsql-patches

From Tom Lane
Subject Re: stand-alone composite types patch (was [HACKERS] Proposal: stand-alone composite types)
Date
Msg-id 27776.1028865111@sss.pgh.pa.us
Whole thread Raw
In response to Re: stand-alone composite types patch (was [HACKERS] Proposal:  (Joe Conway <mail@joeconway.com>)
List pgsql-patches
Joe Conway <mail@joeconway.com> writes:
> Tom Lane wrote:
> Shouldn't "integer" be recognized as a valid type?
>> Not when double-quoted; you are being overzealous about quoting.

> I figured that out (new patch works "correctly"), but it does seem
> inconsistent:

Would you expect "point[]" and point[] to be the same?

The actual type name is int4.  int4 and "int4" act the same.  Aliases
like int and integer are special keywords and so are not recognized
when quoted.

            regards, tom lane

pgsql-patches by date:

Previous
From: Alvaro Herrera
Date:
Subject: little psql additions
Next
From: Alvaro Herrera
Date:
Subject: adding PGPASSWORDFILE to libpq