The following bug has been logged on the website:
Bug reference: 6715
Logged by: Greg Davidson
Email address: jgd@well.com
PostgreSQL version: Unsupported/Unknown
Operating system: OpenSuSe 11.3, PostgreSQL 9.wbeta2
Description:=20=20=20=20=20=20=20=20
When I do
\ir ../bar.sql
I get the bar.sql file in the CWD.
$ psql
psql (9.2beta2)
Type "help" for help.
\q
$ psql -aX greg -f foo.sql
\! ls ../bar.sql
ls: cannot access ../bar.sql: No such file or directory
\! ls bar.sql
bar.sql
\! cat bar.sql
\echo BAR
\ir ../bar.sql
\echo BAR
BAR
Please also note these infelicities:
(1) There's no 9.2beta2 choice in the bug report tool.
(2) On the beta announcement web page
http://www.postgresql.org/about/news/1395/
it says that information on how to test and report bugs with the beta are on
the web page
http://www.postgresql.org/developer/beta/
but no such information is on that page!
_Greg