[Expired for postgresql-9.1 (Ubuntu) because there has been no activity
for 60 days.]

** Changed in: postgresql-9.1 (Ubuntu)
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to postgresql-9.1 in Ubuntu.
https://bugs.launchpad.net/bugs/985959

Title:
  concurrent psql session clobbers history

Status in “postgresql-9.1” package in Ubuntu:
  Expired

Bug description:
  A concurrent psql session will overwrite the history of the first.

  I observe the same behaviour with both  9.1 (lucid, ppa, libedit) and
  8.3 (hardy, readline).

  Upstream says it's a packaging issue:

  http://archives.postgresql.org/pgsql-bugs/2012-04/msg00117.php

  # session 1

  $ psql -q
  postgres=# \echo first session exits first
  first session exits first
  postgres=# \q
  $ cat .psql_history 
  \echo first session exits first
  \q
  $ psql -q
  postgres=# 
  $ cat .psql_history 
  \echo second session exits second
  \q
  $ psql -q
  postgres=# \echo first session exits second
  first session exits second
  postgres=# \q
  $ cat .psql_history 
  \echo second session exits second
  \q
  \echo first session exits second
  \q

  # session 2

  $ psql -q
  postgres=# \echo second session exits second
  second session exits second
  postgres=# \q
  $ cat .psql_history 
  \echo second session exits second
  \q
  $ psql -q
  postgres=# \echo second session exits first
  second session exits first
  postgres=# \q
  $ cat .psql_history 
  \echo second session exits second
  \q
  \echo second session exits first
  \q

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/postgresql-9.1/+bug/985959/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to