How specify user& pwd for Pg

From: Giorgio Volpe <giorgio(at)nauta(dot)it>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: How specify user& pwd for Pg
Date: 1998-08-25 15:17:04
Message-ID: 35E2D570.4CA56614@nauta.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)nauta(dot)it

Browse pgsql-interfaces by date

  From Date Subject
Next Message Brendan Rempel 1998-08-25 18:25:18 pThread and libpq problem
Previous Message David Hartwig 1998-08-25 13:56:38 Re: [INTERFACES] iodbc interface on Unix