Public bug reported:
The read_conf_file function in PgCommon.pm (~line 108) will process
external config files that are included with include but not if those
included with include_if_exists (a new feature added to PostgreSQL
9.2).
Versions:
Ubuntu 12.04.1
PostgreSQL 9.2.2-0ppa1~precise
Here is a fix that's working for me:
- add (_if_exists)? to the regex.
- set $path = $2 (previously $path = $1)
Here is the result of the change, with line numbers in PgCommon.pm:
108 } elsif (/^\s*include(_if_exists)?\s+'([^']+)'\s*$/i) {
109 my ($k, $v, $path,
2 matches
Mail list logo