Change the row constructor syntax (ROW(...)) so that list elements foo.*

Tom Lane <tgl@sss.pgh.pa.us>

Commit: ca0d2197ca1ed1e72243c5a3466d93e4954d30b0
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2006-06-26T17:24:41Z
Releases: 8.2.0
Change the row constructor syntax (ROW(...)) so that list elements foo.*
will be expanded to a list of their member fields, rather than creating
a nested rowtype field as formerly.  (The old behavior is still available
by omitting '.*'.)  This syntax is not allowed by the SQL spec AFAICS,
so changing its behavior doesn't violate the spec.  The new behavior is
substantially more useful since it allows, for example, triggers to check
for data changes with 'if row(new.*) is distinct from row(old.*)'.  Per
my recent proposal.

Files