Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 5793265B647 for ; Tue, 3 Jul 2012 23:55:48 -0300 (ADT) Received: from mahout.postgresql.org ([98.129.198.123]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SmFkm-0001vi-FB for pgsql-bugs@postgresql.org; Wed, 04 Jul 2012 02:55:47 +0000 Received: from [204.145.124.246] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SmFkZ-0001r5-AF for pgsql-bugs@postgresql.org; Wed, 04 Jul 2012 02:55:31 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.72) (envelope-from ) id 1SmFkY-0003pD-NX for pgsql-bugs@postgresql.org; Wed, 04 Jul 2012 02:55:30 +0000 Date: Wed, 04 Jul 2012 02:55:30 +0000 Message-Id: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #6715: 9.2b2 psql \ir does not understand leading ../ To: pgsql-bugs@postgresql.org From: jgd@well.com X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201207/14 X-Sequence-Number: 33490 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