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.