BUG #12300: ~/.psql_history nonexistent warning on first run

From: dlazerka(at)gmail(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #12300: ~/.psql_history nonexistent warning on first run
Date: 2014-12-21 05:33:42
Message-ID: 20141221053342.11502.68526@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 12300
Logged by: Dzmitry Lazerka
Email address: dlazerka(at)gmail(dot)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.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message alex 2014-12-21 16:31:52 Re: segfault on query
Previous Message robert.thaler 2014-12-20 19:27:30 BUG #12292: index row size 1480 exceeds maximum 1352 for index