psql command line editor

From: Bob Gobeille <bob(dot)gobeille(at)hp(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: psql command line editor
Date: 2009-08-17 17:30:41
Message-ID: D08A8187-4052-431A-BD1B-5D71544882F3@hp.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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.

Thanks,
Bob Gobeille
bobg(at)fossology(dot)org

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2009-08-17 17:41:25 Re: ERROR: attempted to delete invisible tuple
Previous Message Chris Bowlby 2009-08-17 17:27:38 Re: pg_autovacuum exceptions question