mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Make no-tty not use quiet in psql, fix group by copy failure, fix ccsym to delete tmp files.
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.23 1997/12/23 19:53:30 thomas Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.24 1997/12/23 21:38:25 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -509,6 +509,21 @@ _copyAgg(Agg *from)
|
||||
return newnode;
|
||||
}
|
||||
|
||||
/* ---------------
|
||||
* _copyGroupClause
|
||||
* --------------
|
||||
*/
|
||||
static GroupClause *
|
||||
_copyGroupClause(GroupClause *from)
|
||||
{
|
||||
GroupClause *newnode = makeNode(GroupClause);
|
||||
|
||||
newnode->grpOpoid = from->grpOpoid;
|
||||
newnode->entry = copyObject(from->entry);
|
||||
|
||||
return newnode;
|
||||
}
|
||||
|
||||
|
||||
/* ----------------
|
||||
* _copyUnique
|
||||
@ -1665,6 +1680,9 @@ copyObject(void *from)
|
||||
case T_Agg:
|
||||
retval = _copyAgg(from);
|
||||
break;
|
||||
case T_GroupClause:
|
||||
retval = _copyGroupClause(from);
|
||||
break;
|
||||
case T_Unique:
|
||||
retval = _copyUnique(from);
|
||||
break;
|
||||
|
Reference in New Issue
Block a user