mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Remove 'Array' node type, which has evidently been dead code for
a very long time.
This commit is contained in:
@ -19,7 +19,7 @@
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.117 2000/07/17 03:04:58 tgl Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.118 2000/07/22 04:22:46 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -933,26 +933,6 @@ _copyCaseWhen(CaseWhen *from)
|
||||
return newnode;
|
||||
}
|
||||
|
||||
static Array *
|
||||
_copyArray(Array *from)
|
||||
{
|
||||
Array *newnode = makeNode(Array);
|
||||
|
||||
/* ----------------
|
||||
* copy remainder of node
|
||||
* ----------------
|
||||
*/
|
||||
newnode->arrayelemtype = from->arrayelemtype;
|
||||
newnode->arrayelemlength = from->arrayelemlength;
|
||||
newnode->arrayelembyval = from->arrayelembyval;
|
||||
newnode->arrayndim = from->arrayndim;
|
||||
newnode->arraylow = from->arraylow;
|
||||
newnode->arrayhigh = from->arrayhigh;
|
||||
newnode->arraylen = from->arraylen;
|
||||
|
||||
return newnode;
|
||||
}
|
||||
|
||||
static ArrayRef *
|
||||
_copyArrayRef(ArrayRef *from)
|
||||
{
|
||||
@ -1724,9 +1704,6 @@ copyObject(void *from)
|
||||
case T_Func:
|
||||
retval = _copyFunc(from);
|
||||
break;
|
||||
case T_Array:
|
||||
retval = _copyArray(from);
|
||||
break;
|
||||
case T_ArrayRef:
|
||||
retval = _copyArrayRef(from);
|
||||
break;
|
||||
|
Reference in New Issue
Block a user