1997-04-17 09:50:57 -04:00
|
|
|
/*
|
2002-05-16 21:19:19 -04:00
|
|
|
* variable.h
|
|
|
|
|
* Routines for handling specialized SET variables.
|
1997-04-17 09:50:57 -04:00
|
|
|
*
|
2004-01-19 14:04:40 -05:00
|
|
|
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
|
|
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
1997-04-17 09:50:57 -04:00
|
|
|
*
|
2004-01-19 14:04:40 -05:00
|
|
|
* $PostgreSQL: pgsql/src/include/commands/variable.h,v 1.23 2004/01/19 19:04:40 tgl Exp $
|
1997-04-17 09:50:57 -04:00
|
|
|
*/
|
1997-11-07 01:45:16 -05:00
|
|
|
#ifndef VARIABLE_H
|
2000-05-30 20:28:42 -04:00
|
|
|
#define VARIABLE_H
|
1997-04-17 09:50:57 -04:00
|
|
|
|
2004-01-19 14:04:40 -05:00
|
|
|
#include "utils/guc.h"
|
|
|
|
|
|
|
|
|
|
|
2002-05-16 21:19:19 -04:00
|
|
|
extern const char *assign_datestyle(const char *value,
|
2004-01-19 14:04:40 -05:00
|
|
|
bool doit, GucSource source);
|
2002-05-16 21:19:19 -04:00
|
|
|
extern const char *assign_timezone(const char *value,
|
2004-01-19 14:04:40 -05:00
|
|
|
bool doit, GucSource source);
|
2002-05-16 21:19:19 -04:00
|
|
|
extern const char *show_timezone(void);
|
|
|
|
|
extern const char *assign_XactIsoLevel(const char *value,
|
2004-01-19 14:04:40 -05:00
|
|
|
bool doit, GucSource source);
|
2002-05-16 21:19:19 -04:00
|
|
|
extern const char *show_XactIsoLevel(void);
|
|
|
|
|
extern bool assign_random_seed(double value,
|
2004-01-19 14:04:40 -05:00
|
|
|
bool doit, GucSource source);
|
2002-05-16 21:19:19 -04:00
|
|
|
extern const char *show_random_seed(void);
|
|
|
|
|
extern const char *assign_client_encoding(const char *value,
|
2004-01-19 14:04:40 -05:00
|
|
|
bool doit, GucSource source);
|
2002-05-16 21:19:19 -04:00
|
|
|
extern const char *assign_session_authorization(const char *value,
|
2004-01-19 14:04:40 -05:00
|
|
|
bool doit, GucSource source);
|
2002-05-16 21:19:19 -04:00
|
|
|
extern const char *show_session_authorization(void);
|
2001-10-28 01:26:15 -05:00
|
|
|
|
2001-11-05 12:46:40 -05:00
|
|
|
#endif /* VARIABLE_H */
|