Re: psql - use of deafult editor

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Rini Dutta <rinid(at)rocketmail(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: psql - use of deafult editor
Date: 2001-02-22 20:55:53
Message-ID: Pine.LNX.4.30.0102222155130.1923-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net http://yi.org/peter-e/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2001-02-22 21:02:56 Upcoming PostgreSQL events
Previous Message Rini Dutta 2001-02-22 20:48:50 Re: how critical is WAL