Re: [INTERFACES] libpq & user

From: "Thomas G(dot) Lockhart" <lockhart(at)alumnus(dot)caltech(dot)edu>
To: rknop(at)mh1(dot)lbl(dot)gov
Cc: Herouth Maoz <herouth(at)oumail(dot)openu(dot)ac(dot)il>, pgsql-interfaces(at)postgreSQL(dot)org, Postgres Documentation List <docs(at)postgreSQL(dot)org>
Subject: Re: [INTERFACES] libpq & user
Date: 1998-07-15 16:32:11
Message-ID: 35ACD98B.8CD3F2CB@apop-server.alumni.caltech.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Bruce Momjian 1998-07-15 17:03:04 Re: [DOCS] Re: [INTERFACES] libpq & user
Previous Message Jeffrey Napolitano 1998-07-15 16:25:00 Old JDBC drivers