Re: BUG #6602: concurrent psql session clobbers history

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: i+pgbugs(at)avdd(dot)tk, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #6602: concurrent psql session clobbers history
Date: 2012-04-19 20:15:39
Message-ID: 1334866539.24114.10.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On tor, 2012-04-19 at 15:00 -0400, Tom Lane wrote:
> i+pgbugs(at)avdd(dot)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.

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Ran Ningyu 2012-04-20 07:01:53 Re: BUG #6578: Deadlock in libpq after upgrading from 8.4.7 to 8.4.11
Previous Message Simon Willett 2012-04-19 19:31:07 Re: BUG #6204: Using plperl functions generate crash