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? > -- === The PostgreSQL Company: Command Prompt, Inc. === Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240 Providing the most comprehensive PostgreSQL solutions since 1997 http://www.commandprompt.com/ Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate