Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Y2qtp-0003uG-Gl for pgsql-bugs@arkaria.postgresql.org; Mon, 22 Dec 2014 00:31:01 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Y2qto-0008FZ-Fs for pgsql-bugs@arkaria.postgresql.org; Mon, 22 Dec 2014 00:31:00 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Y2Z9o-0004rg-GC for pgsql-bugs@postgresql.org; Sun, 21 Dec 2014 05:34:20 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Y2Z9W-0004ik-Qp for pgsql-bugs@postgresql.org; Sun, 21 Dec 2014 05:34:19 +0000 MIME-Version: 1.0 Subject: BUG #12300: ~/.psql_history nonexistent warning on first run To: pgsql-bugs@postgresql.org From: dlazerka@gmail.com Date: Sun, 21 Dec 2014 05:33:42 +0000 Message-ID: <20141221053342.11502.68526@wrigleys.postgresql.org> X-Pg-Spam-Score: -0.3 (/) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The following bug has been logged on the website: Bug reference: 12300 Logged by: Dzmitry Lazerka Email address: dlazerka@gmail.com PostgreSQL version: 9.3.5 Operating system: Linux Mint x64 3.13.0-24-generic #47-Ubuntu Description: 1. Either install fresh PostgreSQL on fresh OS, or just delete `~/.psql_history`. 2. Run `~ $ psql` (assuming that permissions are already set up for your user). 3. type any command; 4. Press Ctrl-D, or type "\q". OBSERVED: warning could not save history to file "/home/myuser/.psql_history": No such file or directory EXPECTED: info like: Created "/home/myuser/.psql_history" Because currently it sounds like it wasn't found, so history is lost forever. Also, it happens on the very first run, when user hasn't had a chance to screw up anything yet, but psql already throws errors. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs