pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas G. Lockhart <lockhart@alumnus.caltech.edu>
To: rknop@mh1.lbl.gov
Cc: Herouth Maoz <herouth@oumail.openu.ac.il>
Cc: pgsql-interfaces@postgreSQL.org, Postgres Documentation List <docs@postgreSQL.org>
Subject: Re: [INTERFACES] libpq & user
Date: Wed, 15 Jul 1998 16:32:11 +0000
Message-ID: <35ACD98B.8CD3F2CB@apop-server.alumni.caltech.edu> (raw)
References: <Pine.SOL.3.95.980715080309.8510A-100000@panisse.lbl.gov>

> > In the psql source code, they set the user by setting the PGUSER
> > environment variable. The source of the PQsetdb function states that the
> > following environment variables are accepted (although this is not
> > documented - at least not in my old 6.2.1 version):
> 
> Aha!  Thank you, that was the secret.  I do not believe that these
> environment variables are documented in 6.3.1 either -- at least, I 
> didn't find them.  I tried USER, but not PGUSER.

These environment variables are documented in the libpq section of the
new v6.3.x html/hardcopy documents. However, PGUSER was omitted. Would
someone like to add it to the sgml sources? It is in
  doc/src/sgml/libpq.sgml

Look for PGHOST, put in some text in the appropriate area, and send a
patch. It's that easy! (Wasn't that a Ross Perot quote?...)

                     - Tom



view thread (12+ messages)  latest in thread

Message-ID: <35ACD98B.8CD3F2CB@apop-server.alumni.caltech.edu>
Permalink:  ../35ACD98B.8CD3F2CB@apop-server.alumni.caltech.edu/
Also on:    postgresql.org/message-id/35ACD98B.8CD3F2CB@apop-server.alumni.caltech.edu

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: lockhart@alumnus.caltech.edu, rknop@mh1.lbl.gov, herouth@oumail.openu.ac.il, docs@postgreSQL.org
  Subject: Re: [INTERFACES] libpq & user
  In-Reply-To: <35ACD98B.8CD3F2CB@apop-server.alumni.caltech.edu>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox