From: Alexander Schneider <alex@alexander-schneider.de>
To: pgsql-interfaces@postgreSQL.org
Subject: What options in pg_Connect?
Date: Wed, 23 Jun 1999 13:08:45 +0200
Message-ID: <1281986148-108753851@mail.isolution.de> (raw)
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
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: alex@alexander-schneider.de
Subject: Re: What options in pg_Connect?
In-Reply-To: <1281986148-108753851@mail.isolution.de>
* 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