agora inbox for postgres@postgres.berkeley.edu  
help / color / mirror / Atom feed
From: Brent Burton <Brent.Burton@math.tamu.edu>
To: postgres@postgres.Berkeley.EDU
Cc: brentb@fourier.math.tamu.edu
Subject: Re: User semantics in Postgres
Date: Mon, 5 Dec 1994 16:02:16 -0600
Message-ID: <199412052202.QAA23233@fourier.math.tamu.edu> (raw)


Hello, again.

I recently emailed a (badly phrased) question to the list concerning
interfacing Postgres into our web.

What I didn't explain very well was that I created a special user to
work as both the httpd user, and as a postgres user.  This new special
user, then called 'stupid', failed to work.

I'd like to thank Kacper.Nowicki@fuw.edu.pl for the correct solution:

httpd does not set the USER or LOGNAME envariables that libpq requires.

Once I set these, my gateway worked properly.  Other gateway applications
may need USER, LOGNAME, PATH and other envariables set for correct
operation.

Thanks,
-Brent

==============================================================================
   To add/remove yourself to/from the POSTGRES mailing list: send mail with 
   the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU".
   If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and
   a human will deal with it.  DO NOT post to the "postgres" mailing list.
==============================================================================
              URL: http://s2k-ftp.CS.Berkeley.EDU:8000/postgres/



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: postgres@postgres.berkeley.edu
  Cc: Brent.Burton@math.tamu.edu, brentb@fourier.math.tamu.edu
  Subject: Re: User semantics in Postgres
  In-Reply-To: <199412052202.QAA23233@fourier.math.tamu.edu>

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

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