Re: BUG #5052: lost history

Lists: pgsql-bugs
From: "" <wumarex(at)agh(dot)edu(dot)pl>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #5052: lost history
Date: 2009-09-13 15:06:04
Message-ID: 200909131506.n8DF64p6000543@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 5052
Logged by:
Email address: wumarex(at)agh(dot)edu(dot)pl
PostgreSQL version: 8.4.1
Operating system: Linux
Description: lost history
Details:

When I will start simultaneously more than time psql program, it after the
outing is staying history of only this session which we left recently.


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "" <wumarex(at)agh(dot)edu(dot)pl>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5052: lost history
Date: 2009-09-13 17:42:57
Message-ID: 2926.1252863777@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs

"" <wumarex(at)agh(dot)edu(dot)pl> writes:
> When I will start simultaneously more than time psql program, it after the
> outing is staying history of only this session which we left recently.

Yeah, that's libreadline's fault :-(. You should complain to the
readline authors.

regards, tom lane


From: Marek Wójtowicz <wumarex(at)agh(dot)edu(dot)pl>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5052: lost history
Date: 2009-09-13 19:03:09
Message-ID: 200909132103.10614.wumarex@agh.edu.pl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs

Dnia niedziela, 13 września 2009, napisano:
> "" <wumarex(at)agh(dot)edu(dot)pl> writes:
> > When I will start simultaneously more than time psql program, it after
> > the outing is staying history of only this session which we left
> > recently.
>
> Yeah, that's libreadline's fault :-(. You should complain to the
> readline authors.

bash using same version libreadline and dont't have this problem :-)

--

Marek Wójtowicz <wumarex(at)agh(dot)edu(dot)pl>
http://galaxy.uci.agh.edu.pl/~wumarex/


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Marek Wójtowicz <wumarex(at)agh(dot)edu(dot)pl>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5052: lost history
Date: 2009-09-13 19:49:17
Message-ID: 9161.1252871357@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs

Marek =?iso-8859-2?q?W=F3jtowicz?= <wumarex(at)agh(dot)edu(dot)pl> writes:
>> Yeah, that's libreadline's fault :-(. You should complain to the
>> readline authors.

> bash using same version libreadline and dont't have this problem :-)

[ pokes around... ] Hmm, it looks like bash is using append_history()
which has been added to readline since the 4.x days. (It's there in
5.2; can't find any info about when it went in.) Probably would be
worth adding a configure test so we can use this ...

regards, tom lane