pgsql: include_if_exists facility for config file.

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: include_if_exists facility for config file.
Date: 2011-12-16 01:12:15
Message-ID: E1RbMLP-0007Fs-5v@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/6d09b2105fb5fa6e6245e7b024bfbe465b1041ee

Modified Files
--------------
doc/src/sgml/config.sgml | 12 ++++++++++
src/backend/utils/misc/guc-file.l | 41 +++++++++++++++++++++++++++++-------
src/include/utils/guc.h | 2 +-
3 files changed, 46 insertions(+), 9 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2011-12-16 13:08:16 pgsql: Fix reference to "verify-ca" and "verify-full" in a note in the
Previous Message Robert Haas 2011-12-16 00:03:26 pgsql: Improve behavior of concurrent rename statements.