Re: psql - use of deafult editor - Mailing list pgsql-general

From Peter Eisentraut
Subject Re: psql - use of deafult editor
Date
Msg-id Pine.LNX.4.30.0102222155130.1923-100000@peter.localdomain
Whole thread Raw
In response to psql - use of deafult editor  (Rini Dutta <rinid@rocketmail.com>)
List pgsql-general
Rini Dutta writes:

> Is there a way to temporarily turn of the use of a
> default editor when using psql ?
> I need to do this when I try to use psql from a
> script/batch file. Whenever a query is executed psql
> displays a result, displays it - I need to hit 'q' to
> end the display and would like to avoid this
> unnecessary (when running psql from a script) user
> input.

That would be the pager, not the editor.  Use \pset pager.

--
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/


pgsql-general by date:

Previous
From: Lonnie Cumberland
Date:
Subject: Re: www-sql question
Next
From: "Brent R. Matzelle"
Date:
Subject: Re: PostgreSQL 7.1 Linux Installation