Re: [INTERFACES] libpq & user - Mailing list pgsql-interfaces

From Thomas G. Lockhart
Subject Re: [INTERFACES] libpq & user
Date
Msg-id 35ACD98B.8CD3F2CB@apop-server.alumni.caltech.edu
Whole thread Raw
In response to Re: [INTERFACES] libpq & user  (Robert Knop <rknop@panisse.lbl.gov>)
Responses Re: [DOCS] Re: [INTERFACES] libpq & user
List pgsql-interfaces
> > 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

pgsql-interfaces by date:

Previous
From: Robert Knop
Date:
Subject: Re: [INTERFACES] libpq & user
Next
From: Jeffrey Napolitano
Date:
Subject: Old JDBC drivers