From: | jseymour(at)linxnet(dot)com (Jim Seymour) |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | "q" with psql display paging dumps out of psql |
Date: | 2004-11-15 16:12:48 |
Message-ID: | 20041115161248.A3D91430E@jimsun.linxnet.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hi,
Environment:
SunOS 5.7 Generic_106541-29 sun4u sparc SUNW,UltraSPARC-IIi-Engine
Postgresql-7.4.6
Build config: --with-java --enable-thread-safety
gcc version 3.3.1
less-381
readline-4.3
$ echo $PAGER
/usr/local/bin/less
$ echo $LESS
-e
I recently upgraded from 7.4.2 to 7.4.6 and have run into a new
problem. As frequently as not, maybe even most times, when I "q" out
of paging the output of a query in psql: Instead of just quitting that
query, I get dumped straight out of psql. To add insult to injury: The
command history for the current session isn't saved. (Only what was in
the command history on entry.) It's really quite irritating :/.
It's not repeatable. If I try to trace the psql session with truss, it
doesn't do it. If I "G" to the end of the output and then "q", it
doesn't do it.
I down-graded to Postgresql-7.4.5. It happened with it. I upgraded
"less" from v332 to v381. No improvement.
"echo $?" after it happens yields "141." There is no "141" in
/usr/include/sys/errno.h.
I'm guessing it's some kind of race condition. Any suggestions where I
might start debugging this problem?
Jim
From | Date | Subject | |
---|---|---|---|
Next Message | Karl O. Pinc | 2004-11-15 16:15:57 | Nairobi time zone fails in 7.4 |
Previous Message | Tim Skirvin | 2004-11-15 16:08:09 | Re: I spoke with Marc from the postgresql mailing list. |