Eneboo - Documentación para desarrolladores
'defines' | 'typedefs' | Enumeraciones | Funciones | Variables
Referencia del Archivo src/libpq/include/utils/guc.h
#include "nodes/pg_list.h"
#include "tcop/dest.h"
#include "utils/array.h"

Ir al código fuente de este archivo.

'defines'

#define GUC_QUALIFIER_SEPARATOR   '.'

'typedefs'

typedef const char *(* GucStringAssignHook )(const char *newval, bool doit, GucSource source)
typedef bool(* GucBoolAssignHook )(bool newval, bool doit, GucSource source)
typedef bool(* GucIntAssignHook )(int newval, bool doit, GucSource source)
typedef bool(* GucRealAssignHook )(double newval, bool doit, GucSource source)
typedef const char *(* GucShowHook )(void)

Enumeraciones

enum  GucContext {
  PGC_INTERNAL, PGC_POSTMASTER, PGC_SIGHUP, PGC_BACKEND,
  PGC_SUSET, PGC_USERSET
}
enum  GucSource {
  PGC_S_DEFAULT, PGC_S_ENV_VAR, PGC_S_FILE, PGC_S_ARGV,
  PGC_S_DATABASE, PGC_S_USER, PGC_S_CLIENT, PGC_S_OVERRIDE,
  PGC_S_INTERACTIVE, PGC_S_TEST, PGC_S_SESSION
}

Funciones

void SetConfigOption (const char *name, const char *value, GucContext context, GucSource source)
void DefineCustomBoolVariable (const char *name, const char *short_desc, const char *long_desc, bool *valueAddr, GucContext context, GucBoolAssignHook assign_hook, GucShowHook show_hook)
void DefineCustomIntVariable (const char *name, const char *short_desc, const char *long_desc, int *valueAddr, int minValue, int maxValue, GucContext context, GucIntAssignHook assign_hook, GucShowHook show_hook)
void DefineCustomRealVariable (const char *name, const char *short_desc, const char *long_desc, double *valueAddr, double minValue, double maxValue, GucContext context, GucRealAssignHook assign_hook, GucShowHook show_hook)
void DefineCustomStringVariable (const char *name, const char *short_desc, const char *long_desc, char **valueAddr, GucContext context, GucStringAssignHook assign_hook, GucShowHook show_hook)
void EmitWarningsOnPlaceholders (const char *className)
const char * GetConfigOption (const char *name)
const char * GetConfigOptionResetString (const char *name)
bool IsSuperuserConfigOption (const char *name)
void ProcessConfigFile (GucContext context)
void InitializeGUCOptions (void)
bool SelectConfigFiles (const char *userDoption, const char *progname)
void ResetAllOptions (void)
void AtEOXact_GUC (bool isCommit, bool isSubXact)
void BeginReportingGUCOptions (void)
void ParseLongOption (const char *string, char **name, char **value)
bool set_config_option (const char *name, const char *value, GucContext context, GucSource source, bool isLocal, bool changeVal)
char * GetConfigOptionByName (const char *name, const char **varname)
void GetConfigOptionByNum (int varnum, const char **values, bool *noshow)
int GetNumConfigOptions (void)
void SetPGVariable (const char *name, List *args, bool is_local)
void GetPGVariable (const char *name, DestReceiver *dest)
TupleDesc GetPGVariableResultDesc (const char *name)
void ResetPGVariable (const char *name)
char * flatten_set_variable_args (const char *name, List *args)
void ProcessGUCArray (ArrayType *array, GucSource source)
ArrayTypeGUCArrayAdd (ArrayType *array, const char *name, const char *value)
ArrayTypeGUCArrayDelete (ArrayType *array, const char *name)
bool ClearDateCache (bool newval, bool doit, GucSource source)
const char * assign_default_tablespace (const char *newval, bool doit, GucSource source)
const char * assign_regex_flavor (const char *value, bool doit, GucSource source)
const char * assign_search_path (const char *newval, bool doit, GucSource source)
const char * assign_xlog_sync_method (const char *method, bool doit, GucSource source)

Variables

bool log_duration
bool Debug_print_plan
bool Debug_print_parse
bool Debug_print_rewritten
bool Debug_pretty_print
bool Explain_pretty_print
bool log_parser_stats
bool log_planner_stats
bool log_executor_stats
bool log_statement_stats
bool log_btree_build_stats
bool SQL_inheritance
bool Australian_timezones
bool default_with_oids
int log_min_error_statement
int log_min_messages
int client_min_messages
int log_min_duration_statement
int num_temp_buffers
char * ConfigFileName
char * HbaFileName
char * IdentFileName
char * external_pid_file
int tcp_keepalives_idle
int tcp_keepalives_interval
int tcp_keepalives_count

Documentación de los 'defines'

#define GUC_QUALIFIER_SEPARATOR   '.'

Documentación de los 'typedefs'

typedef bool(* GucBoolAssignHook)(bool newval, bool doit, GucSource source)
typedef bool(* GucIntAssignHook)(int newval, bool doit, GucSource source)
typedef bool(* GucRealAssignHook)(double newval, bool doit, GucSource source)
typedef const char*(* GucShowHook)(void)
typedef const char*(* GucStringAssignHook)(const char *newval, bool doit, GucSource source)

Documentación de las enumeraciones

enum GucContext
Valores de enumeraciones:
PGC_INTERNAL 
PGC_POSTMASTER 
PGC_SIGHUP 
PGC_BACKEND 
PGC_SUSET 
PGC_USERSET 
enum GucSource
Valores de enumeraciones:
PGC_S_DEFAULT 
PGC_S_ENV_VAR 
PGC_S_FILE 
PGC_S_ARGV 
PGC_S_DATABASE 
PGC_S_USER 
PGC_S_CLIENT 
PGC_S_OVERRIDE 
PGC_S_INTERACTIVE 
PGC_S_TEST 
PGC_S_SESSION 

Documentación de las funciones

const char* assign_default_tablespace ( const char *  newval,
bool  doit,
GucSource  source 
)
const char* assign_regex_flavor ( const char *  value,
bool  doit,
GucSource  source 
)
const char* assign_search_path ( const char *  newval,
bool  doit,
GucSource  source 
)
const char* assign_xlog_sync_method ( const char *  method,
bool  doit,
GucSource  source 
)
void AtEOXact_GUC ( bool  isCommit,
bool  isSubXact 
)
void BeginReportingGUCOptions ( void  )
bool ClearDateCache ( bool  newval,
bool  doit,
GucSource  source 
)
void DefineCustomBoolVariable ( const char *  name,
const char *  short_desc,
const char *  long_desc,
bool valueAddr,
GucContext  context,
GucBoolAssignHook  assign_hook,
GucShowHook  show_hook 
)
void DefineCustomIntVariable ( const char *  name,
const char *  short_desc,
const char *  long_desc,
int valueAddr,
int  minValue,
int  maxValue,
GucContext  context,
GucIntAssignHook  assign_hook,
GucShowHook  show_hook 
)
void DefineCustomRealVariable ( const char *  name,
const char *  short_desc,
const char *  long_desc,
double *  valueAddr,
double  minValue,
double  maxValue,
GucContext  context,
GucRealAssignHook  assign_hook,
GucShowHook  show_hook 
)
void DefineCustomStringVariable ( const char *  name,
const char *  short_desc,
const char *  long_desc,
char **  valueAddr,
GucContext  context,
GucStringAssignHook  assign_hook,
GucShowHook  show_hook 
)
void EmitWarningsOnPlaceholders ( const char *  className)
char* flatten_set_variable_args ( const char *  name,
List args 
)
const char* GetConfigOption ( const char *  name)
char* GetConfigOptionByName ( const char *  name,
const char **  varname 
)
void GetConfigOptionByNum ( int  varnum,
const char **  values,
bool noshow 
)
const char* GetConfigOptionResetString ( const char *  name)
int GetNumConfigOptions ( void  )
void GetPGVariable ( const char *  name,
DestReceiver *  dest 
)
TupleDesc GetPGVariableResultDesc ( const char *  name)
ArrayType* GUCArrayAdd ( ArrayType array,
const char *  name,
const char *  value 
)
ArrayType* GUCArrayDelete ( ArrayType array,
const char *  name 
)
void InitializeGUCOptions ( void  )
bool IsSuperuserConfigOption ( const char *  name)
void ParseLongOption ( const char *  string,
char **  name,
char **  value 
)
void ProcessConfigFile ( GucContext  context)
void ProcessGUCArray ( ArrayType array,
GucSource  source 
)
void ResetAllOptions ( void  )
void ResetPGVariable ( const char *  name)
bool SelectConfigFiles ( const char *  userDoption,
const char *  progname 
)
bool set_config_option ( const char *  name,
const char *  value,
GucContext  context,
GucSource  source,
bool  isLocal,
bool  changeVal 
)
void SetConfigOption ( const char *  name,
const char *  value,
GucContext  context,
GucSource  source 
)
void SetPGVariable ( const char *  name,
List args,
bool  is_local 
)

Documentación de las variables

char* HbaFileName
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'