"Erik Rijkers" <er(at)xs4all(dot)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