Re: LATERAL synopsis - Mailing list pgsql-docs

From Tom Lane
Subject Re: LATERAL synopsis
Date
Msg-id 21287.1351356283@sss.pgh.pa.us
Whole thread Raw
In response to LATERAL synopsis  ("Erik Rijkers" <er@xs4all.nl>)
Responses Re: LATERAL synopsis (patch to wrap long line)  ("Erik Rijkers" <er@xs4all.nl>)
List pgsql-docs
"Erik Rijkers" <er@xs4all.nl> writes:
> [ LATERAL ] function_name ( [ argument [, ...] ] ) AS ( column_definition [, ...] )

> But what does 'column_definition' stand for?  (These are the only occurrences of
> 'column_definition' in the manual.)

This is the syntax for specifying what columns a
function-returning-RECORD is actually going to return.  I'm too lazy to
chase down the reference and see whether it's really inconsistent or
not --- but that line was like that before I added [ LATERAL ] to it ...

            regards, tom lane


pgsql-docs by date:

Previous
From: "Erik Rijkers"
Date:
Subject: LATERAL synopsis
Next
From: "Erik Rijkers"
Date:
Subject: Re: LATERAL synopsis (patch to wrap long line)