aboutsummaryrefslogtreecommitdiff
path: root/src/include/commands/variable.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/commands/variable.h')
-rw-r--r--src/include/commands/variable.h32
1 files changed, 23 insertions, 9 deletions
diff --git a/src/include/commands/variable.h b/src/include/commands/variable.h
index f4f12c97127..bdca5c88a92 100644
--- a/src/include/commands/variable.h
+++ b/src/include/commands/variable.h
@@ -1,18 +1,32 @@
/*
- * Headers for handling of 'SET var TO', 'SHOW var' and 'RESET var'
- * statements
+ * variable.h
+ * Routines for handling specialized SET variables.
*
- * $Id: variable.h,v 1.17 2001/11/05 17:46:33 momjian Exp $
+ * $Id: variable.h,v 1.18 2002/05/17 01:19:19 tgl Exp $
*
*/
#ifndef VARIABLE_H
#define VARIABLE_H
-extern void SetPGVariable(const char *name, List *args);
-extern void GetPGVariable(const char *name);
-extern void ResetPGVariable(const char *name);
-
-extern void set_default_datestyle(void);
-extern void set_default_client_encoding(void);
+extern const char *assign_datestyle(const char *value,
+ bool doit, bool interactive);
+extern const char *show_datestyle(void);
+extern const char *assign_timezone(const char *value,
+ bool doit, bool interactive);
+extern const char *show_timezone(void);
+extern const char *assign_XactIsoLevel(const char *value,
+ bool doit, bool interactive);
+extern const char *show_XactIsoLevel(void);
+extern bool assign_random_seed(double value,
+ bool doit, bool interactive);
+extern const char *show_random_seed(void);
+extern const char *assign_client_encoding(const char *value,
+ bool doit, bool interactive);
+extern const char *assign_server_encoding(const char *value,
+ bool doit, bool interactive);
+extern const char *show_server_encoding(void);
+extern const char *assign_session_authorization(const char *value,
+ bool doit, bool interactive);
+extern const char *show_session_authorization(void);
#endif /* VARIABLE_H */