How to prevent clear screen when query finish ?

From: Condor <condor(at)stz-bg(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: How to prevent clear screen when query finish ?
Date: 2013-08-07 15:53:18
Message-ID: 4c32ae410bae4b3d080c19f0ba61c76a@stz-bg.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

sorry for dumb question, did any one can tell me how the hell I can
remove clear screen after finish the sql query from console ?
This probably have some idea, but for me look like very ... not good
idea. When I run query from console like:

SELECT * FROM table_x;

I got the result ... with (END) and when I click key -> q for quit the
result disappear and I can't scroll it back,
if I need to check something again (change console do something, get one
line and need to scroll back) and want to see my old result again, I
need to run query
again ... I never has this problem on Slackware, but today one of my
partners give me a shell to his ubuntu server to fix something on
database.

Cheers,
Hristo S.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Steve Crawford 2013-08-07 15:53:23 Re: Staging Database
Previous Message Peter Geoghegan 2013-08-07 15:51:40 Re: PostrgreSQL Commercial restrictions?