Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id C5736F6B3CC for ; Thu, 19 Apr 2012 17:16:01 -0300 (ADT) Received: from mailout-de.gmx.net ([213.165.64.22]) by makus.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1SKxlo-0007jI-0F for pgsql-bugs@postgresql.org; Thu, 19 Apr 2012 20:16:00 +0000 Received: (qmail invoked by alias); 19 Apr 2012 20:15:46 -0000 Received: from a88-115-218-87.elisa-laajakaista.fi (EHLO [10.0.0.108]) [88.115.218.87] by mail.gmx.net (mp032) with SMTP; 19 Apr 2012 22:15:46 +0200 X-Authenticated: #495269 X-Provags-ID: V01U2FsdGVkX1/aXbwYecra3TE4iayBaYn/CHS/JYzLj344WHsnCF RG3jbJ7kbvcZfg Message-ID: <1334866539.24114.10.camel@vanquo.pezone.net> Subject: Re: BUG #6602: concurrent psql session clobbers history From: Peter Eisentraut To: Tom Lane Cc: i+pgbugs@avdd.tk, pgsql-bugs@postgresql.org Date: Thu, 19 Apr 2012 23:15:39 +0300 In-Reply-To: <20805.1334862057@sss.pgh.pa.us> References: <20805.1334862057@sss.pgh.pa.us> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.2-1 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 X-Y-GMX-Trusted: 0 X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201204/120 X-Sequence-Number: 32871 On tor, 2012-04-19 at 15:00 -0400, Tom Lane wrote: > i+pgbugs@avdd.tk writes: > > A concurrent psql session will overwrite the history of the first. This > > does not look good: a database tool causing me to lose my data! > > Works okay for me. I suspect you need to take this up with whoever > packages libreadline for Ubuntu, because it's going to be libreadline's > problem not ours. It's probably actually using libedit for the history part.