From: | Roland Roberts <roberts(at)panix(dot)com> |
---|---|
To: | PostgreSQL-documentation <docs(at)postgreSQL(dot)org>, "pgsql-general(at)postgreSQL(dot)org" <pgsql-general(at)postgreSQL(dot)org> |
Subject: | Re: [GENERAL] PostgreSQL connect options? |
Date: | 1998-08-01 21:53:32 |
Message-ID: | x6r9z0z7vn.fsf@tycho.rlent.pnet |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
>>>>> "Maarten" == Maarten Boekhold <maartenb(at)dutepp0(dot)et(dot)tudelft(dot)nl> writes:
Maarten> On Sat, 1 Aug 1998, Roland Roberts wrote:
[...]
Maarten> PQconnectdb("dbname=database user=username password=pwd
Maarten> authtype=password");
This is more-or-less what I was looking for. Is there someplace the
list of options (i.e., dbname, user, password, etc.) is documented?
I'm actually looking to do this from PHP (in apache). So the function
I have is pg_connect, which is declared as
int pg_connect(string host, string port, string options,
string tty, string dbname);
So, I'm going to try stuffing the user=username into the options to
see if that does what I hope....
roland
--
Roland B. Roberts, PhD Custom Software Solutions
roberts(at)panix(dot)com 101 West 15th St #4NN
New York, NY 10011
From | Date | Subject | |
---|---|---|---|
Next Message | Peter T Mount | 1998-08-01 22:48:30 | Re: [ADMIN] Authentication Problems |
Previous Message | Maarten Boekhold | 1998-08-01 21:36:11 | Re: [GENERAL] PostgreSQL connect options? |