Received: from mail.isolution.de (mail.netarchitects.technopark.gmd.de [193.175.164.98]) by hub.org (8.9.3/8.9.3) with ESMTP id HAA80500 for ; Wed, 23 Jun 1999 07:08:56 -0400 (EDT) (envelope-from alex@alexander-schneider.de) Received: from [192.168.147.132] (193.175.164.97) by mail.isolution.de with SMTP (Eudora Internet Mail Server 2.2.2); Wed, 23 Jun 1999 13:12:28 +0200 Subject: What options in pg_Connect? Date: Wed, 23 Jun 1999 13:08:45 +0200 x-sender: alex%alexander-schneider.de@mail.alexander-schneider.de x-mailer: Claris Emailer 2.0v3, January 22, 1998 From: Alexander Schneider To: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Message-ID: <1281986148-108753851@mail.isolution.de> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.org id HAA80501 Hello, I have a problem with Postgres 6.5 and PHP3. I use the "pg_connect(host,port,options,username,pw)" function and if I insert a row with a unique-constraint on a column and the constraint is met the output to my browser is filled with error-messages from Postmaster. How do I supress these messages and handle them in my script? Where can I find the right syntax for specifiying the options in "pg_connect"? [The Perl-> DBI-way doesn´t work: DBI->connect("dbi:Pg:dbname=$database",$dbuser,$dbpw, { AutoCommit => 0, RaiseError => 0})] Thanx for any help in advance. See you Alexander Schneider