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, %include_conf); 110 $path = $2; ** Description changed: The read_conf_file function in PgCommon.pm (~line 108) will process - external config files that are included with "include" but not if those + external config files that are included with "include" but not 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 postgresql-common 139~precise -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to postgresql-common in Ubuntu. https://bugs.launchpad.net/bugs/1098986 Title: read_conf_file ignores include_if_exists in config file Status in “postgresql-common” package in Ubuntu: New Bug description: The read_conf_file function in PgCommon.pm (~line 108) will process external config files that are included with "include" but not 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 postgresql-common 139~precise To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/postgresql-common/+bug/1098986/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp