aboutsummaryrefslogtreecommitdiff
path: root/src/backend/nodes/outfuncs.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-03-28 22:59:34 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2010-03-28 22:59:34 +0000
commitb78f6264eba33e2966447572b8261e353df01e59 (patch)
tree1b5cfa84c32c6683851d335cfa9cd7dab54ecee5 /src/backend/nodes/outfuncs.c
parenta760893dbda9934e287789d54bbd3c4ca3914ce0 (diff)
downloadpostgresql-b78f6264eba33e2966447572b8261e353df01e59.tar.gz
postgresql-b78f6264eba33e2966447572b8261e353df01e59.zip
Rework join-removal logic as per recent discussion. In particular this
fixes things so that it works for cases where nested removals are possible. The overhead of the optimization should be significantly less, as well.
Diffstat (limited to 'src/backend/nodes/outfuncs.c')
-rw-r--r--src/backend/nodes/outfuncs.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/backend/nodes/outfuncs.c b/src/backend/nodes/outfuncs.c
index 878e4b3b94c..37bafae46ea 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.383 2010/02/16 22:34:43 tgl Exp $
+ * $PostgreSQL: pgsql/src/backend/nodes/outfuncs.c,v 1.384 2010/03/28 22:59:32 tgl Exp $
*
* NOTES
* Every node type that can appear in stored rules' parsetrees *must*
@@ -1479,16 +1479,6 @@ _outUniquePath(StringInfo str, UniquePath *node)
}
static void
-_outNoOpPath(StringInfo str, NoOpPath *node)
-{
- WRITE_NODE_TYPE("NOOPPATH");
-
- _outPathInfo(str, (Path *) node);
-
- WRITE_NODE_FIELD(subpath);
-}
-
-static void
_outNestPath(StringInfo str, NestPath *node)
{
WRITE_NODE_TYPE("NESTPATH");
@@ -2740,9 +2730,6 @@ _outNode(StringInfo str, void *obj)
case T_UniquePath:
_outUniquePath(str, obj);
break;
- case T_NoOpPath:
- _outNoOpPath(str, obj);
- break;
case T_NestPath:
_outNestPath(str, obj);
break;