pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: jgd@well.com
To: pgsql-bugs@postgresql.org
Subject: BUG #6715: 9.2b2 psql \ir does not understand leading ../
Date: Wed, 04 Jul 2012 02:55:30 +0000
Message-ID: <E1SmFkY-0003pD-NX@wrigleys.postgresql.org> (raw)

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:        

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




view thread (5+ messages)  latest in thread

Message-ID: <E1SmFkY-0003pD-NX@wrigleys.postgresql.org>
Permalink:  ../E1SmFkY-0003pD-NX@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/E1SmFkY-0003pD-NX@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: jgd@well.com
  Subject: Re: BUG #6715: 9.2b2 psql \ir does not understand leading ../
  In-Reply-To: <E1SmFkY-0003pD-NX@wrigleys.postgresql.org>
  References: <E1SmFkY-0003pD-NX@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox