BUG #6715: 9.2b2 psql \ir does not understand leading ../

From: jgd(at)well(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #6715: 9.2b2 psql \ir does not understand leading ../
Date: 2012-07-04 02:55:30
Message-ID: E1SmFkY-0003pD-NX@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 6715
Logged by: Greg Davidson
Email address: jgd(at)well(dot)com
PostgreSQL version: Unsupported/Unknown
Operating system: OpenSuSe 11.3, PostgreSQL 9.wbeta2
Description:

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

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Shigeru HANADA 2012-07-04 03:07:04 Re: BUG #6708: pgsql_fdw's foreign table cann't used in plpgsql function
Previous Message Jeff Davis 2012-07-03 22:30:44 Re: Meeting schedule