diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2011-12-15 19:40:58 -0500 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2011-12-15 19:40:58 -0500 |
commit | 6d09b2105fb5fa6e6245e7b024bfbe465b1041ee (patch) | |
tree | 175de225cd8be5187803aae51e92fc1f607052e9 /src/include/utils/guc.h | |
parent | 1da5c119594e4fb07fb6a2c57f66642fa5e966fb (diff) | |
download | postgresql-6d09b2105fb5fa6e6245e7b024bfbe465b1041ee.tar.gz postgresql-6d09b2105fb5fa6e6245e7b024bfbe465b1041ee.zip |
include_if_exists facility for config file.
This works the same as include, except that an error is not thrown
if the file is missing. Instead the fact that it's missing is
logged.
Greg Smith, reviewed by Euler Taveira de Oliveira.
Diffstat (limited to 'src/include/utils/guc.h')
-rw-r--r-- | src/include/utils/guc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/utils/guc.h b/src/include/utils/guc.h index 8e3057a0140..52109e533c9 100644 --- a/src/include/utils/guc.h +++ b/src/include/utils/guc.h @@ -111,7 +111,7 @@ typedef struct ConfigVariable } ConfigVariable; extern bool ParseConfigFile(const char *config_file, const char *calling_file, - int depth, int elevel, + bool strict, int depth, int elevel, ConfigVariable **head_p, ConfigVariable **tail_p); extern bool ParseConfigFp(FILE *fp, const char *config_file, int depth, int elevel, |