Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXv9d-0004pv-QF for pgsql-bugs@arkaria.postgresql.org; Thu, 11 Aug 2016 18:56:33 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bXv9c-0003YB-Ly for pgsql-bugs@arkaria.postgresql.org; Thu, 11 Aug 2016 18:56:32 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bXv8y-0002pZ-Pg for pgsql-bugs@postgresql.org; Thu, 11 Aug 2016 18:55:52 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bXv8v-0001jm-CO for pgsql-bugs@postgresql.org; Thu, 11 Aug 2016 18:55:52 +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 u7BItlT4015160; Thu, 11 Aug 2016 14:55:47 -0400 From: Tom Lane To: Alvaro Herrera cc: rotten@windfish.net, pgsql-bugs@postgresql.org Subject: Re: BUG #14287: psql_history gets wiped out In-reply-to: <20160811183456.GA656368@alvherre.pgsql> References: <20160811183456.GA656368@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Thu, 11 Aug 2016 14:34:56 -0400" Date: Thu, 11 Aug 2016 14:55:47 -0400 Message-ID: <15159.1470941747@sss.pgh.pa.us> X-Pg-Spam-Score: -2.4 (--) 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 Alvaro Herrera writes: > rotten@windfish.net wrote: >> I believe this behavior is new to the 9.5.3 psql client. It has been >> bugging me ever since we patched to that release. > Do you mean that it worked fine in 9.5.2? Or do you mean that it worked > fine in 9.4.x? Or do you mean something different? Some digging in our git history says that we haven't changed anything about how we write the history file since 2009. If Rick has seen a recent behavioral change, I'd wonder more about whether libreadline changed, or maybe he switched his build between libreadline and libedit. 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