Re: some possible parser cleaning: drop support column(table) syntax - Mailing list pgsql-hackers

From Tom Lane
Subject Re: some possible parser cleaning: drop support column(table) syntax
Date
Msg-id 1029.1256225848@sss.pgh.pa.us
Whole thread Raw
In response to Re: some possible parser cleaning: drop support column(table) syntax  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: some possible parser cleaning: drop support column(table) syntax
List pgsql-hackers
Pavel Stehule <pavel.stehule@gmail.com> writes:
> 2009/10/22 Tom Lane <tgl@sss.pgh.pa.us>:
>> It is not --- it's the recommended solution for emulating computed
>> columns.  The column-as-f(x) direction maybe isn't terribly exciting,
>> but the function-as-x.col direction definitely is.

> is it documented?

Yes, see "SQL Functions on Composite Types" (34.4.2 as of CVS HEAD),
down near the end of that subsection.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: per table random-page-cost?
Next
From: Pavel Stehule
Date:
Subject: Re: some possible parser cleaning: drop support column(table) syntax