Re: Windows default editor for psql \e

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
Cc: Richard Broersma Jr <rabroersma(at)yahoo(dot)com>, General PostgreSQL List <pgsql-general(at)postgresql(dot)org>
Subject: Re: Windows default editor for psql \e
Date: 2007-02-04 03:56:34
Message-ID: 200702040356.l143uYw15199@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Joshua D. Drake wrote:
> On Tue, 2006-11-28 at 22:59 -0500, Bruce Momjian wrote:
> > Richard Broersma Jr wrote:
> > > > Sure, see the psql manual page, but setting EDITOR is the easiest way.
> > > > This works on Win32 too.
> > >
> > > c:\set EDITOR="c:\Program Files\Vim\vim70\gvim.exe"
> > >
> > > Thanks Bruce, this worked like a charm!
> > >
> > > And sorry to drag this, but does anyone know the windows (xp) equivalent to:
> > > /etc/rc.conf for *nix? i.e. the place that windows uses to store system wide variables from future
> > > use? Is still the autoexec.bat? :o)
> >
> > OK, I am freaked out that I know the answer to this, but it My
> > Computer/Properties/Advanced/Environment Variables.
>
> Is this something we shoudl doc?

Done, and backpatched to 8.2.X.

--
Bruce Momjian bruce(at)momjian(dot)us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

Attachment Content-Type Size
/rtmp/diff text/x-diff 780 bytes

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jorge Godoy 2007-02-04 15:24:38 ERROR: missing cache data for cache id 27
Previous Message Bruce Momjian 2007-02-04 00:03:44 Re: date comparisons