Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Y2rBB-0004Xq-Jx for pgsql-bugs@arkaria.postgresql.org; Mon, 22 Dec 2014 00:48:57 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Y2rBA-0000lP-UL for pgsql-bugs@arkaria.postgresql.org; Mon, 22 Dec 2014 00:48:56 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Y2rBA-0000l1-6e for pgsql-bugs@postgresql.org; Mon, 22 Dec 2014 00:48:56 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Y2rB7-0004AC-CF for pgsql-bugs@postgresql.org; Mon, 22 Dec 2014 00:48:54 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id sBM0mpeM020160; Sun, 21 Dec 2014 19:48:51 -0500 From: Tom Lane To: dlazerka@gmail.com cc: pgsql-bugs@postgresql.org Subject: Re: BUG #12300: ~/.psql_history nonexistent warning on first run In-reply-to: <20141221053342.11502.68526@wrigleys.postgresql.org> References: <20141221053342.11502.68526@wrigleys.postgresql.org> Comments: In-reply-to dlazerka@gmail.com message dated "Sun, 21 Dec 2014 05:33:42 +0000" Date: Sun, 21 Dec 2014 19:48:51 -0500 Message-ID: <20159.1419209331@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) 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 dlazerka@gmail.com writes: > PostgreSQL version: 9.3.5 > Operating system: Linux Mint x64 3.13.0-24-generic #47-Ubuntu > 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 Which readline/history library are you using --- GNU readline, or libedit? And what version exactly? FWIW, I do not see this behavior with readline 6.0 on my RHEL6 machine, nor with the libedit that Apple is shipping in Yosemite (seems to be a patched copy of libedit 3.0). It wouldn't surprise me a whole lot if it happens with some other versions of libedit. There isn't a lot we can do if it's libedit's fault; that library is enough of a mess, and enough of a moving target, that we have to be satisfied if it works at all, never mind cosmetic issues. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs