>>>>> "Maarten" == Maarten Boekhold <[EMAIL PROTECTED]> 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
[EMAIL PROTECTED]                           101 West 15th St #4NN
                                               New York, NY 10011

Reply via email to