Received: from spotters.it (root@spotters.it [194.21.179.11]) by hub.org (8.8.8/8.7.5) with ESMTP id LAA03615 for ; Tue, 25 Aug 1998 11:17:17 -0400 (EDT) Received: from nauta.it (giorgio@localhost [127.0.0.1]) by spotters.it (8.8.6/8.6.9) with ESMTP id RAA00931 for ; Tue, 25 Aug 1998 17:17:05 +0200 Sender: giorgio@spotters.it Message-ID: <35E2D570.4CA56614@nauta.it> Date: Tue, 25 Aug 1998 17:17:04 +0200 From: Giorgio Volpe Organization: Nauta s.r.l. http://www.nauta.it X-Mailer: Mozilla 4.05 [en] (X11; I; Linux 2.0.28 i586) MIME-Version: 1.0 To: pgsql-interfaces@postgresql.org Subject: How specify user& pwd for Pg Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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