1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-12 05:01:15 +03:00

Remove Existential, and ifdef out generate_fjoin. Neither did anything.

This commit is contained in:
Bruce Momjian
1997-12-18 12:54:45 +00:00
parent 4469eb63a3
commit 6a45941f2f
13 changed files with 26 additions and 200 deletions

View File

@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.19 1997/12/18 05:58:40 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.20 1997/12/18 12:53:48 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -108,24 +108,6 @@ _copyPlan(Plan *from)
}
/* ----------------
* _copyExistential
* ----------------
*/
static Existential *
_copyExistential(Existential *from)
{
Existential *newnode = makeNode(Existential);
/* ----------------
* copy node superclass fields
* ----------------
*/
CopyPlanFields(from, newnode);
return newnode;
}
/* ----------------
* _copyResult
* ----------------
@@ -1623,9 +1605,6 @@ copyObject(void *from)
case T_Plan:
retval = _copyPlan(from);
break;
case T_Existential:
retval = _copyExistential(from);
break;
case T_Result:
retval = _copyResult(from);
break;

View File

@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/nodes/outfuncs.c,v 1.11 1997/12/04 23:20:32 thomas Exp $
* $Header: /cvsroot/pgsql/src/backend/nodes/outfuncs.c,v 1.12 1997/12/18 12:53:51 momjian Exp $
*
* NOTES
* Every (plan) node in POSTGRES has an associated "out" routine which
@@ -258,21 +258,6 @@ _outResult(StringInfo str, Result *node)
}
/*
* Existential is a subclass of Plan.
*/
static void
_outExistential(StringInfo str, Existential *node)
{
char buf[500];
sprintf(buf, "EXISTENTIAL");
appendStringInfo(str, buf);
_outPlanInfo(str, (Plan *) node);
}
/*
* Append is a subclass of Plan.
*/
@@ -1641,9 +1626,6 @@ _outNode(StringInfo str, void *obj)
case T_Result:
_outResult(str, obj);
break;
case T_Existential:
_outExistential(str, obj);
break;
case T_Append:
_outAppend(str, obj);
break;

View File

@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/nodes/print.c,v 1.11 1997/11/25 21:59:44 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/nodes/print.c,v 1.12 1997/12/18 12:53:56 momjian Exp $
*
* HISTORY
* AUTHOR DATE MAJOR EVENT
@@ -304,9 +304,6 @@ plannode_type(Plan *p)
case T_Plan:
return "PLAN";
break;
case T_Existential:
return "EXISTENTIAL";
break;
case T_Result:
return "RESULT";
break;

View File

@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/nodes/readfuncs.c,v 1.10 1997/10/25 01:09:30 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/nodes/readfuncs.c,v 1.11 1997/12/18 12:53:59 momjian Exp $
*
* NOTES
* Most of the read functions for plan nodes are tested. (In fact, they
@@ -217,24 +217,6 @@ _readResult()
return (local_node);
}
/* ----------------
* _readExistential
*
* Existential nodes are only used by the planner.
* ----------------
*/
static Existential *
_readExistential()
{
Existential *local_node;
local_node = makeNode(Existential);
_getPlan((Plan *) local_node);
return (local_node);
}
/* ----------------
* _readAppend
*
@@ -1884,10 +1866,6 @@ parsePlanString(void)
{
return_value = _readResult();
}
else if (!strncmp(token, "EXISTENTIAL", 11))
{
return_value = _readExistential();
}
else if (!strncmp(token, "APPEND", 6))
{
return_value = _readAppend();