Re: [GENERAL] PostgreSQL connect options? - Mailing list pgsql-general

From Roland Roberts
Subject Re: [GENERAL] PostgreSQL connect options?
Date
Msg-id x6r9z0z7vn.fsf@tycho.rlent.pnet
Whole thread Raw
In response to Re: [GENERAL] PostgreSQL connect options?  (Maarten Boekhold <maartenb@dutepp0.et.tudelft.nl>)
List pgsql-general
>>>>> "Maarten" == Maarten Boekhold <maartenb@dutepp0.et.tudelft.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@panix.com                           101 West 15th St #4NN
                                               New York, NY 10011

pgsql-general by date:

Previous
From: Maarten Boekhold
Date:
Subject: Re: [GENERAL] PostgreSQL connect options?
Next
From: Peter T Mount
Date:
Subject: Re: [ADMIN] Authentication Problems