Standardize on the assumption that the arguments of a RowExpr correspond
authorTom Lane <[email protected]>
Tue, 17 Aug 2004 18:47:09 +0000 (18:47 +0000)
committerTom Lane <[email protected]>
Tue, 17 Aug 2004 18:47:09 +0000 (18:47 +0000)
commitfcaad7e2c11b74c9bd30ad483b99d45a71e3f925
treed3ccb4120ce4f2d115df852cd37ca49a3c5f87b8
parent388ffad0401e7ebe0c44b0a4bfb85ce0ed48b294
Standardize on the assumption that the arguments of a RowExpr correspond
to the physical layout of the rowtype, ie, there are dummy arguments
corresponding to any dropped columns in the rowtype.  We formerly had a
couple of places that did it this way and several others that did not.
Fixes Gaetano Mendola's "cache lookup failed for type 0" bug of 5-Aug.
src/backend/executor/execQual.c
src/backend/optimizer/util/clauses.c
src/backend/parser/parse_coerce.c
src/backend/parser/parse_relation.c
src/backend/rewrite/rewriteManip.c
src/backend/utils/adt/ruleutils.c
src/include/nodes/primnodes.h
src/include/parser/parsetree.h