From: Tom Lane <tgl@sss.pgh.pa.us>
To: news@emmanuelsambo.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #13733: ~/.psql_history* corrupted
Date: Mon, 26 Oct 2015 12:08:49 -0400
Message-ID: <28958.1445875729@sss.pgh.pa.us> (raw)
In-Reply-To: <20151026152214.3021.13548@wrigleys.postgresql.org>
References: <20151026152214.3021.13548@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
news@emmanuelsambo.com writes:
> The following bug has been logged on the website:
> Bug reference: 13733
> Logged by: Emmanuel Sambo
> Email address: news@emmanuelsambo.com
> PostgreSQL version: 9.4.5
> Operating system: Apple Mac OS X El Capitan 10.11.1
> Description:
> Upgrading from PostgreSQL 9.4.4 to 9.4.5 deleted my entire psql history in
> two of my ~/.psql_history-<db>
> Looking at this file I can see:
> - all the spaces are encoded as utf-8: "\040"
> - each history entry is truncated at 1021 characters
This probably means you accidentally switched from using libedit to
libreadline, or vice versa, when you rebuilt Postgres. They're not
very compatible as to history file format :-(
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
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: tgl@sss.pgh.pa.us, news@emmanuelsambo.com
Subject: Re: BUG #13733: ~/.psql_history* corrupted
In-Reply-To: <28958.1445875729@sss.pgh.pa.us>
References: <20151026152214.3021.13548@wrigleys.postgresql.org> <28958.1445875729@sss.pgh.pa.us>
* 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