diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-11-26 22:14:57 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-11-26 22:14:57 +0000 |
commit | da27c0a1ef9c35afef18f7ae3542498cb3a943a9 (patch) | |
tree | b97eff1d7aed83a69499436fe4bc08eb37a3c1a8 /src/backend/nodes/outfuncs.c | |
parent | a66e2c88855a8c290149d03cfcd6c6a2a5dc53fe (diff) | |
download | postgresql-da27c0a1ef9c35afef18f7ae3542498cb3a943a9.tar.gz |
Teach tid-scan code to make use of "ctid = ANY (array)" clauses, so that
"ctid IN (list)" will still work after we convert IN to ScalarArrayOpExpr.
Make some minor efficiency improvements while at it, such as ensuring that
multiple TIDs are fetched in physical heap order. And fix EXPLAIN so that
it shows what's really going on for a TID scan.
Diffstat (limited to 'src/backend/nodes/outfuncs.c')
-rw-r--r-- | src/backend/nodes/outfuncs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/nodes/outfuncs.c b/src/backend/nodes/outfuncs.c index 16acd5d721..5ba31580ae 100644 --- a/src/backend/nodes/outfuncs.c +++ b/src/backend/nodes/outfuncs.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/nodes/outfuncs.c,v 1.262 2005/11/14 23:54:15 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/nodes/outfuncs.c,v 1.263 2005/11/26 22:14:56 tgl Exp $ * * NOTES * Every node type that can appear in stored rules' parsetrees *must* @@ -390,7 +390,7 @@ _outTidScan(StringInfo str, TidScan *node) _outScanInfo(str, (Scan *) node); - WRITE_NODE_FIELD(tideval); + WRITE_NODE_FIELD(tidquals); } static void @@ -1079,7 +1079,7 @@ _outTidPath(StringInfo str, TidPath *node) _outPathInfo(str, (Path *) node); - WRITE_NODE_FIELD(tideval); + WRITE_NODE_FIELD(tidquals); } static void |