aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/xml.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2011-10-11 18:11:51 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2011-10-11 18:12:57 -0400
commitcb6771fb32cbdb11c8d84b7d62ee940bdba38d52 (patch)
tree570b3790e334850a061f33086fe4c2b0ab9f07b5 /src/backend/utils/adt/xml.c
parente991930e8a2394169d95e9a4c175a1fdf812ef04 (diff)
downloadpostgresql-cb6771fb32cbdb11c8d84b7d62ee940bdba38d52.tar.gz
postgresql-cb6771fb32cbdb11c8d84b7d62ee940bdba38d52.zip
Generate index-only scan tuple descriptor from the plan node's indextlist.
Dept. of second thoughts: as long as we've got that tlist hanging around anyway, we can apply ExecTypeFromTL to it to get a suitable descriptor for the ScanTupleSlot. This is a nicer solution than the previous one because it eliminates some hard-wired knowledge about btree name_ops, and because it avoids the somewhat shaky assumption that we needn't set up the scan tuple descriptor in EXPLAIN_ONLY mode. It doesn't change what actually happens at run-time though, and I'm still a bit nervous about that.
Diffstat (limited to 'src/backend/utils/adt/xml.c')
0 files changed, 0 insertions, 0 deletions