Search Postgresql Archives

Re: Windows default editor for psql \e

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
  EnterpriseDB    http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +
Index: doc/src/sgml/libpq.sgml
===================================================================
RCS file: /cvsroot/pgsql/doc/src/sgml/libpq.sgml,v
retrieving revision 1.224
diff -c -c -r1.224 libpq.sgml
*** doc/src/sgml/libpq.sgml	1 Feb 2007 00:28:17 -0000	1.224
--- doc/src/sgml/libpq.sgml	4 Feb 2007 03:53:47 -0000
***************
*** 4356,4361 ****
--- 4356,4368 ----
  installs too. The file's location can also be specified by the
  <envar>PGSYSCONFDIR</envar> environment variable.
  </para>
+ 
+ <para>
+ To set environment variables on Windows, from <literal>My Computer</>,
+ choose <literal>View System Information</>, and from the <literal>Advanced</>
+ tab, choose <literal>Environment Variables</>, then add a user or system
+ variable.
+ </para>
  </sect1>
  
  

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux