Re: name of a column returned from a table function - Mailing list pgsql-sql

From Tom Lane
Subject Re: name of a column returned from a table function
Date
Msg-id 28036.1074524874@sss.pgh.pa.us
Whole thread Raw
In response to name of a column returned from a table function  ("Iain" <iain@mst.co.jp>)
List pgsql-sql
"Iain" <iain@mst.co.jp> writes:
> I've written a little table function that simply returns all the dates in a
> month. No problems so far. Now I want to outer join this list to another
> table, but I dont know what to call the column returned by the
> function.

Same as the name of the function, unless you supply a column alias to
change it to something else.
        regards, tom lane


pgsql-sql by date:

Previous
From: "Denis"
Date:
Subject: Re: Initially Deffered - FK
Next
From: Robert Creager
Date:
Subject: Re: How can I get the last element out of GROUP BY sets?