| From: | Alexander Schneider <alex(at)alexander-schneider(dot)de> |
|---|---|
| To: | <pgsql-interfaces(at)postgreSQL(dot)org> |
| Subject: | What options in pg_Connect? |
| Date: | 1999-06-23 11:08:45 |
| Message-ID: | 1281986148-108753851@mail.isolution.de |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-interfaces |
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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | David Warnock | 1999-06-23 12:37:25 | Re: [INTERFACES] JDBC and character sets |
| Previous Message | Peter Mount | 1999-06-23 07:11:22 | RE: [INTERFACES] JDBC and character sets |