mirror of
https://github.com/postgres/postgres.git
synced 2025-11-06 07:49:08 +03:00
Further preparatory refactoring for compiling guc-file.c standalone. Reviewed by Andres Freund Discussion: https://www.postgresql.org/message-id/20220810171935.7k5zgnjwqzalzmtm%40awork3.anarazel.de Discussion: https://www.postgresql.org/message-id/CAFBsxsF8Gc2StS3haXofshHCzqNMRXiSxvQEYGwnFsTmsdwNeg@mail.gmail.com
27 lines
844 B
C
27 lines
844 B
C
/*--------------------------------------------------------------------
|
|
* guc_internals.h
|
|
*
|
|
* Declarations shared between backend/utils/misc/guc.c and
|
|
* backend/utils/misc/guc-file.l
|
|
*
|
|
* Copyright (c) 2000-2022, PostgreSQL Global Development Group
|
|
*
|
|
* src/include/utils/guc_internals.h
|
|
*--------------------------------------------------------------------
|
|
*/
|
|
#ifndef GUC_INTERNALS_H
|
|
#define GUC_INTERNALS_H
|
|
|
|
#include "utils/guc.h"
|
|
|
|
extern int guc_name_compare(const char *namea, const char *nameb);
|
|
extern ConfigVariable *ProcessConfigFileInternal(GucContext context,
|
|
bool applySettings, int elevel);
|
|
extern void record_config_file_error(const char *errmsg,
|
|
const char *config_file,
|
|
int lineno,
|
|
ConfigVariable **head_p,
|
|
ConfigVariable **tail_p);
|
|
|
|
#endif /* GUC_INTERNALS_H */
|