git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: c1d9df4) | patch
Preserve column names in the execution-time tupledesc for a RowExpr.
2012年2月14日 22:34:19 +0000 (17:34 -0500)
2012年2月14日 22:34:56 +0000 (17:34 -0500)
commit 398f70ec070fe60151584eaa448f04708aa77892
Preserve column names in the execution-time tupledesc for a RowExpr.

The hstore and json datatypes both have record-conversion functions that
pay attention to column names in the composite values they're handed.
We used to not worry about inserting correct field names into tuple
descriptors generated at runtime, but given these examples it seems
useful to do so. Observe the nicer-looking results in the regression
tests whose results changed.

catversion bump because there is a subtle change in requirements for stored
rule parsetrees: RowExprs from ROW() constructs now have to include field
names.

Andrew Dunstan and Tom Lane
16 files changed:
contrib/hstore/expected/hstore.out diff | blob | blame | history
src/backend/executor/execQual.c diff | blob | blame | history
src/backend/executor/execTuples.c diff | blob | blame | history
src/backend/executor/nodeValuesscan.c diff | blob | blame | history
src/backend/optimizer/path/allpaths.c diff | blob | blame | history
src/backend/optimizer/path/equivclass.c diff | blob | blame | history
src/backend/optimizer/plan/planner.c diff | blob | blame | history
src/backend/optimizer/prep/prepunion.c diff | blob | blame | history
src/backend/optimizer/util/var.c diff | blob | blame | history
src/backend/parser/gram.y diff | blob | blame | history
src/backend/parser/parse_expr.c diff | blob | blame | history
src/include/catalog/catversion.h diff | blob | blame | history
src/include/executor/executor.h diff | blob | blame | history
src/include/nodes/primnodes.h diff | blob | blame | history
src/include/optimizer/prep.h diff | blob | blame | history
src/test/regress/expected/json.out diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /