PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
variable.h
Go to the documentation of this file.
1 /*
2  * variable.h
3  * Routines for handling specialized SET variables.
4  *
5  * Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group
6  * Portions Copyright (c) 1994, Regents of the University of California
7  *
8  * src/include/commands/variable.h
9  */
10 #ifndef VARIABLE_H
11 #define VARIABLE_H
12 
13 #include "utils/guc.h"
14 
15 
16 extern bool check_datestyle(char **newval, void **extra, GucSource source);
17 extern void assign_datestyle(const char *newval, void *extra);
18 extern bool check_timezone(char **newval, void **extra, GucSource source);
19 extern void assign_timezone(const char *newval, void *extra);
20 extern const char *show_timezone(void);
21 extern bool check_log_timezone(char **newval, void **extra, GucSource source);
22 extern void assign_log_timezone(const char *newval, void *extra);
23 extern const char *show_log_timezone(void);
24 extern bool check_transaction_read_only(bool *newval, void **extra, GucSource source);
25 extern bool check_XactIsoLevel(char **newval, void **extra, GucSource source);
26 extern void assign_XactIsoLevel(const char *newval, void *extra);
27 extern const char *show_XactIsoLevel(void);
28 extern bool check_transaction_deferrable(bool *newval, void **extra, GucSource source);
29 extern bool check_random_seed(double *newval, void **extra, GucSource source);
30 extern void assign_random_seed(double newval, void *extra);
31 extern const char *show_random_seed(void);
32 extern bool check_client_encoding(char **newval, void **extra, GucSource source);
33 extern void assign_client_encoding(const char *newval, void *extra);
34 extern bool check_session_authorization(char **newval, void **extra, GucSource source);
35 extern void assign_session_authorization(const char *newval, void *extra);
36 extern bool check_role(char **newval, void **extra, GucSource source);
37 extern void assign_role(const char *newval, void *extra);
38 extern const char *show_role(void);
39 
40 #endif /* VARIABLE_H */
void assign_random_seed(double newval, void *extra)
Definition: variable.c:655
bool check_XactIsoLevel(char **newval, void **extra, GucSource source)
Definition: variable.c:525
bool check_session_authorization(char **newval, void **extra, GucSource source)
Definition: variable.c:797
void assign_session_authorization(const char *newval, void *extra)
Definition: variable.c:843
const char * show_timezone(void)
Definition: variable.c:382
bool check_transaction_deferrable(bool *newval, void **extra, GucSource source)
Definition: variable.c:615
bool check_random_seed(double *newval, void **extra, GucSource source)
Definition: variable.c:643
void assign_client_encoding(const char *newval, void *extra)
Definition: variable.c:751
GucSource
Definition: guc.h:105
void assign_datestyle(const char *newval, void *extra)
Definition: variable.c:236
bool check_client_encoding(char **newval, void **extra, GucSource source)
Definition: variable.c:675
bool check_role(char **newval, void **extra, GucSource source)
Definition: variable.c:865
void assign_role(const char *newval, void *extra)
Definition: variable.c:930
const char * show_random_seed(void)
Definition: variable.c:664
const char * show_log_timezone(void)
Definition: variable.c:455
bool check_log_timezone(char **newval, void **extra, GucSource source)
Definition: variable.c:408
void assign_timezone(const char *newval, void *extra)
Definition: variable.c:373
bool check_datestyle(char **newval, void **extra, GucSource source)
Definition: variable.c:44
void assign_XactIsoLevel(const char *newval, void *extra)
Definition: variable.c:586
bool check_transaction_read_only(bool *newval, void **extra, GucSource source)
Definition: variable.c:486
void assign_log_timezone(const char *newval, void *extra)
Definition: variable.c:446
#define newval
const char * show_role(void)
Definition: variable.c:938
const char * show_XactIsoLevel(void)
Definition: variable.c:592
bool check_timezone(char **newval, void **extra, GucSource source)
Definition: variable.c:253