PostgreSQL Source Code  git master
guc_internal.h
Go to the documentation of this file.
1 /*--------------------------------------------------------------------
2  * guc_internal.h
3  *
4  * Declarations shared between backend/utils/misc/guc.c and
5  * backend/utils/misc/guc-file.l
6  *
7  * Copyright (c) 2000-2024, PostgreSQL Global Development Group
8  *
9  * src/include/utils/guc_internal.h
10  *--------------------------------------------------------------------
11  */
12 #ifndef GUC_INTERNAL_H
13 #define GUC_INTERNAL_H
14 
15 #include "utils/guc.h"
16 
17 extern int guc_name_compare(const char *namea, const char *nameb);
19  bool applySettings, int elevel);
20 extern void record_config_file_error(const char *errmsg,
21  const char *config_file,
22  int lineno,
23  ConfigVariable **head_p,
24  ConfigVariable **tail_p);
25 
26 #endif /* GUC_INTERNAL_H */
int errmsg(const char *fmt,...)
Definition: elog.c:1070
GucContext
Definition: guc.h:68
void record_config_file_error(const char *errmsg, const char *config_file, int lineno, ConfigVariable **head_p, ConfigVariable **tail_p)
ConfigVariable * ProcessConfigFileInternal(GucContext context, bool applySettings, int elevel)
Definition: guc.c:282
int guc_name_compare(const char *namea, const char *nameb)
Definition: guc.c:1300
static char * config_file
Definition: pg_rewind.c:71
tree context
Definition: radixtree.h:1837