On Thu, Mar 19, 2015 at 05:41:02PM -0500, David Christensen wrote:
The two-arg form of the current_setting() function will allow a fallback value to be returned instead of throwing an error when an unknown GUC is provided. This would come in most useful when using custom GUCs; e.g.:
There already _is_ a two-argument form of current_setting() that yours somewhat conflicts with: