From: dlazerka@gmail.com
To: pgsql-bugs@postgresql.org
Subject: BUG #12300: ~/.psql_history nonexistent warning on first run
Date: Sun, 21 Dec 2014 05:33:42 +0000
Message-ID: <20141221053342.11502.68526@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
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
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: dlazerka@gmail.com
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>
* 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