Postgres + PHP question: username in pg_connect? - Mailing list pgsql-general

From Erich
Subject Postgres + PHP question: username in pg_connect?
Date
Msg-id 200007182351.QAA02097@cyberpass.net
Whole thread Raw
Responses Re: Postgres + PHP question: username in pg_connect?
Re: Postgres + PHP question: username in pg_connect?
List pgsql-general
I'm getting ready to switch over from MySQL to Postgres for my PHP
application.  Looking over the docs of PHP, it shows a pg_connect
command, which doesn't accept a user name.  Any ideas on how to get it
to connect with a specified user name?  Or do I have to run apache as
a specific user, and have that user have a postgres user account?
Right now, apache is running as nobody, which is pretty normal for
apache.

Thanks,

e

pgsql-general by date:

Previous
From: Lamar Owen
Date:
Subject: linux.h
Next
From: "Brett W. McCoy"
Date:
Subject: Re: Postgres + PHP question: username in pg_connect?