Skip site navigation (1) Skip section navigation (2)

Handling of build-time enabled GUC settings

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Handling of build-time enabled GUC settings
Date: 2005-12-27 12:17:42
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
I've noticed some inconsistencies in the handling of build-time enabled GUC 
setttings.  For example, a non-SSL enabled server will happily accept ssl = 
on and simply ignore it.  On the other hand, several syslog related 
parameters are not accepted at all when syslog is not enabled.

I propose that in the interest of greatest flexibility, configuration-file 
sharing etc. we do it as follows: All parameters are accepted all the time.  
(The exception will be the few odd debugging parameters which are marked 
GUC_NOT_IN_SAMPLE; we can handle those any way we want to.)  Those that 
cannot take effect because of build-time configuration have to use a 
check/assign hook to prevent settings that cannot be honored.  This would 
mean that ssl = on has to be prevented.  As another example, syslog_facility 
and syslog_ident are accepted with all values but log_destination will not 
accept syslog if that is not available.  (The latter is the current 


pgsql-hackers by date

Next:From: Peter EisentrautDate: 2005-12-27 12:50:14
Subject: Re: [HACKERS] Online backup vs Continuous backup
Previous:From: Tom LaneDate: 2005-12-27 00:01:07
Subject: Re: Case Conversion Functions

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group