Обсуждение: How specify user& pwd for Pg

Поиск
Список
Период
Сортировка

How specify user& pwd for Pg

От
Giorgio Volpe
Дата:
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