> Is it possible to have "less"-type paging with psql's
> \s command? Or other ways like display the last 50
> commands backwards?
I just checked and the \s code actually calls the readline library:
if (write_history(fname) == 0)
with fname set to /dev/tty if file name is supplied. The only fix we
could do would be to put a temp file in for fname, then output that
through a pager. However, it doesn't seem worth the trouble.
I added a comment in the C code if we ever come back to it.
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
In response to
pgsql-general by date
|Next:||From: Bruce Momjian||Date: 2004-03-27 18:48:27|
|Subject: Re: Native Win32 port - PLEASE!|
|Previous:||From: Tom Lane||Date: 2004-03-27 17:07:55|
|Subject: Re: Index usage for BYTEA column in OR/IN clause |