mirror of
https://github.com/postgres/postgres.git
synced 2025-11-07 19:06:32 +03:00
Merge the last few variable.c configuration variables into the generic
GUC support. It's now possible to set datestyle, timezone, and client_encoding from postgresql.conf and per-database or per-user settings. Also, implement rollback of SET commands that occur in a transaction that later fails. Create a SET LOCAL var = value syntax that sets the variable only for the duration of the current transaction. All per previous discussions in pghackers.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: parsenodes.h,v 1.176 2002/05/12 20:10:04 tgl Exp $
|
||||
* $Id: parsenodes.h,v 1.177 2002/05/17 01:19:19 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -1439,6 +1439,7 @@ typedef struct VariableSetStmt
|
||||
NodeTag type;
|
||||
char *name;
|
||||
List *args;
|
||||
bool is_local; /* SET LOCAL */
|
||||
} VariableSetStmt;
|
||||
|
||||
/* ----------------------
|
||||
|
||||
Reference in New Issue
Block a user