BUG #13733: ~/.psql_history* corrupted - Mailing list pgsql-bugs

From news@emmanuelsambo.com
Subject BUG #13733: ~/.psql_history* corrupted
Date
Msg-id 20151026152214.3021.13548@wrigleys.postgresql.org
Whole thread Raw
Responses Re: BUG #13733: ~/.psql_history* corrupted  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
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

pgsql-bugs by date:

Previous
From:
Date:
Subject: Re: BUG #13725: Logical Decoding - wrong results with large transactions and unfortunate timing
Next
From: Tom Lane
Date:
Subject: Re: BUG #13733: ~/.psql_history* corrupted