pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Giorgio Volpe <giorgio@nauta.it>
To: pgsql-interfaces@postgresql.org
Subject: How specify user& pwd for Pg
Date: Tue, 25 Aug 1998 17:17:04 +0200
Message-ID: <35E2D570.4CA56614@nauta.it> (raw)

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



Message-ID: <35E2D570.4CA56614@nauta.it>
Permalink:  ../35E2D570.4CA56614@nauta.it/
Also on:    postgresql.org/message-id/35E2D570.4CA56614@nauta.it

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: giorgio@nauta.it
  Subject: Re: How specify user& pwd for Pg
  In-Reply-To: <35E2D570.4CA56614@nauta.it>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox