mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Make SET SESSION CHARACTERISTICS compliant with SQL 99. Remove redundant,
non-standard clauses. Allow CHARACTERISTICS as unquoted identifier. Merge related reference pages.
This commit is contained in:
@ -15,7 +15,7 @@
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.132 2000/11/14 18:37:42 tgl Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.133 2000/11/24 20:16:39 petere Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -2513,16 +2513,6 @@ _copyReindexStmt(ReindexStmt *from)
|
||||
return newnode;
|
||||
}
|
||||
|
||||
static SetSessionStmt *
|
||||
_copySetSessionStmt(SetSessionStmt *from)
|
||||
{
|
||||
SetSessionStmt *newnode = makeNode(SetSessionStmt);
|
||||
|
||||
Node_Copy(from, newnode, args);
|
||||
|
||||
return newnode;
|
||||
}
|
||||
|
||||
|
||||
/* ****************************************************************
|
||||
* pg_list.h copy functions
|
||||
@ -2922,9 +2912,6 @@ copyObject(void *from)
|
||||
case T_ReindexStmt:
|
||||
retval = _copyReindexStmt(from);
|
||||
break;
|
||||
case T_SetSessionStmt:
|
||||
retval = _copySetSessionStmt(from);
|
||||
break;
|
||||
case T_CheckPointStmt:
|
||||
retval = (void*)makeNode(CheckPointStmt);
|
||||
break;
|
||||
|
Reference in New Issue
Block a user