Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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  ...



------------------------------------- mailto:giorgio(at)nauta(dot)it

pgsql-interfaces by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group