[Bug 1098986] Re: read_conf_file ignores include_if_exists in config file

2013-02-01 Thread Launchpad Bug Tracker
This bug was fixed in the package postgresql-common - 140 --- postgresql-common (140) experimental; urgency=low [ Martin Pitt ] * t/001_packages.t: Also check that -contrib is installed. * debian/backport-ppa: Backport -common for Ubuntu 12.10. * PgCommon.pm: Recognize "inclu

[Bug 1098986] Re: read_conf_file ignores include_if_exists in config file

2013-01-31 Thread Launchpad Bug Tracker
** Branch linked: lp:debian/experimental/postgresql-common -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1098986 Title: read_conf_file ignores include_if_exists in config file To manage notificatio

[Bug 1098986] Re: read_conf_file ignores include_if_exists in config file

2013-01-13 Thread Martin Pitt
Fixed with a test case in http://anonscm.debian.org/loggerhead/pkg- postgresql/postgresql-common/trunk/revision/1271 Thanks for the report! ** Changed in: postgresql-common (Ubuntu) Status: New => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs

[Bug 1098986] Re: read_conf_file ignores include_if_exists in config file

2013-01-12 Thread Myle Ott
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_co