Re: [GENERAL] PostgreSQL connect options?

Поиск
Список
Период
Сортировка
От Roland Roberts
Тема Re: [GENERAL] PostgreSQL connect options?
Дата
Msg-id x6r9z0z7vn.fsf@tycho.rlent.pnet
обсуждение исходный текст
Ответ на Re: [GENERAL] PostgreSQL connect options?  (Maarten Boekhold <maartenb@dutepp0.et.tudelft.nl>)
Список 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 по дате отправления:

Предыдущее
От: Maarten Boekhold
Дата:
Сообщение: Re: [GENERAL] PostgreSQL connect options?
Следующее
От: Peter T Mount
Дата:
Сообщение: Re: [ADMIN] Authentication Problems