File tree 4 files changed +28
-11
lines changed
4 files changed +28
-11
lines changed Original file line number Diff line number Diff line change 15
15
#include < unistd.h>
16
16
17
17
#include " common/file_utils.h"
18
+ #include " guc_internal.h"
18
19
#include " mb/pg_wchar.h"
19
20
#include " miscadmin.h"
20
21
#include " storage/fd.h"
21
- #include " utils/guc.h"
22
22
23
23
24
24
/*
Original file line number Diff line number Diff line change 57
57
#include "commands/variable.h"
58
58
#include "common/string.h"
59
59
#include "funcapi.h"
60
+ #include "guc_internal.h"
60
61
#include "jit/jit.h"
61
62
#include "libpq/auth.h"
62
63
#include "libpq/libpq.h"
Original file line number Diff line number Diff line change
1
+ /*--------------------------------------------------------------------
2
+ * guc_internals.h
3
+ *
4
+ * Declarations shared between backend/utils/misc/guc.c and
5
+ * backend/utils/misc/guc-file.l
6
+ *
7
+ * Copyright (c) 2000-2022, PostgreSQL Global Development Group
8
+ *
9
+ * src/include/utils/guc_internals.h
10
+ *--------------------------------------------------------------------
11
+ */
12
+ #ifndef GUC_INTERNALS_H
13
+ #define GUC_INTERNALS_H
14
+
15
+ #include "utils/guc.h"
16
+
17
+ extern int guc_name_compare (const char * namea , const char * nameb );
18
+ extern ConfigVariable * ProcessConfigFileInternal (GucContext context ,
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_INTERNALS_H */
Original file line number Diff line number Diff line change @@ -442,16 +442,6 @@ extern void GUC_check_errcode(int sqlerrcode);
442
442
pre_format_elog_string(errno, TEXTDOMAIN), \
443
443
GUC_check_errhint_string = format_elog_string
444
444
445
- /* functions shared between guc.c and guc-file.l */
446
- extern int guc_name_compare (const char * namea , const char * nameb );
447
- extern ConfigVariable * ProcessConfigFileInternal (GucContext context ,
448
- bool applySettings , int elevel );
449
- extern void record_config_file_error (const char * errmsg ,
450
- const char * config_file ,
451
- int lineno ,
452
- ConfigVariable * * head_p ,
453
- ConfigVariable * * tail_p );
454
-
455
445
/*
456
446
* The following functions are not in guc.c, but are declared here to avoid
457
447
* having to include guc.h in some widely used headers that it really doesn't
You can’t perform that action at this time.
0 commit comments