Re: psql command line editor - Mailing list pgsql-general

From Bob Gobeille
Subject Re: psql command line editor
Date
Msg-id 5E72FC6A-3350-4187-958A-738327AB6105@hp.com
Whole thread Raw
In response to psql command line editor  (Bob Gobeille <bob.gobeille@hp.com>)
List pgsql-general
On Aug 17, 2009, at 11:30 AM, Gobeille, Robert wrote:

> I use PSQL to set my editor to vi.  This works as expected in psql, \e
> brings up vi and I edit away.
>
> Is there any way to set my psql command line editor to also use vi
> (just like I do with "set -o vi" in bash)?
> I can't find this in the docs.

That should have been PSQL_EDITOR.

bob

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_autovacuum exceptions question
Next
From: Greg Stark
Date:
Subject: Re: ERROR: attempted to delete invisible tuple