How specify user& pwd for Pg

Поиск
Список
Период
Сортировка
От Giorgio Volpe
Тема How specify user& pwd for Pg
Дата
Msg-id 35E2D570.4CA56614@nauta.it
обсуждение исходный текст
Список pgsql-interfaces
Using PostgreSQL version 6.3, on Linux.

I can't find how to specify username & password to access a database
using perl interface Pg.
I spent all the afternoon looking for a solution in available
documentation, with no result.

I tried to use $Option_ref = Pg::conndefaults(), but it always returns
'segmentation fault' (this since version 6.2)

Can anybody help me, do i have to use a particular connection string ?
( Something like " user = AName password =APwd" )
Which is the exact syntax?

Thanks  ...

--

            Giorgio

------------------------------------- mailto:giorgio@nauta.it

В списке pgsql-interfaces по дате отправления:

Предыдущее
От: David Hartwig
Дата:
Сообщение: Re: [INTERFACES] iodbc interface on Unix
Следующее
От: Brendan Rempel
Дата:
Сообщение: pThread and libpq problem