What options in pg_Connect?

Поиск
Список
Период
Сортировка
От Alexander Schneider
Тема What options in pg_Connect?
Дата
Msg-id 1281986148-108753851@mail.isolution.de
обсуждение исходный текст
Список 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


В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Peter Mount
Дата:
Сообщение: RE: [INTERFACES] JDBC and character sets
Следующее
От: Wayne
Дата:
Сообщение: Trying to get started?