How specify user& pwd for Pg - Mailing list pgsql-interfaces

From Giorgio Volpe
Subject How specify user& pwd for Pg
Date
Msg-id 35E2D570.4CA56614@nauta.it
Whole thread Raw
List 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 by date:

Previous
From: David Hartwig
Date:
Subject: Re: [INTERFACES] iodbc interface on Unix
Next
From: Brendan Rempel
Date:
Subject: pThread and libpq problem