mirror of
https://github.com/postgres/postgres.git
synced 2025-04-24 10:47:04 +03:00
Reverse out Thomas's group clause change.
This commit is contained in:
parent
bbd5c21786
commit
18adbd9aed
@ -7,7 +7,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.24 1997/12/23 21:38:25 momjian Exp $
|
* $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.25 1997/12/23 21:49:03 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -1481,19 +1481,6 @@ _copySortClause(SortClause *from)
|
|||||||
return newnode;
|
return newnode;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if FALSE
|
|
||||||
static GroupClause *
|
|
||||||
_copyGroupClause(GroupClause *from)
|
|
||||||
{
|
|
||||||
GroupClause *newnode = makeNode(GroupClause);
|
|
||||||
|
|
||||||
Node_Copy(from, newnode, resdom);
|
|
||||||
newnode->opoid = from->opoid;
|
|
||||||
|
|
||||||
return newnode;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static A_Const *
|
static A_Const *
|
||||||
_copyAConst(A_Const *from)
|
_copyAConst(A_Const *from)
|
||||||
{
|
{
|
||||||
@ -1794,11 +1781,6 @@ copyObject(void *from)
|
|||||||
case T_SortClause:
|
case T_SortClause:
|
||||||
retval = _copySortClause(from);
|
retval = _copySortClause(from);
|
||||||
break;
|
break;
|
||||||
#if FALSE
|
|
||||||
case T_GroupClause:
|
|
||||||
retval = _copyGroupClause(from);
|
|
||||||
break;
|
|
||||||
#endif
|
|
||||||
case T_A_Const:
|
case T_A_Const:
|
||||||
retval = _copyAConst(from);
|
retval = _copyAConst(from);
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user