Обсуждение: psql error message overriding

Поиск
Список
Период
Сортировка

psql error message overriding

От
Anjan Borthakur
Дата:
hi,
i am using postgres,php3 & apache.the preliminary queries are working
fine.i don't want to have the postgresql server error messages when 
connection or query fails,instead i want customized error
messages.how do i do it?

iam using if (!conn) { some message;   exit; } 
but error message coming is unable to connect to the database specified.
why  this if statement is not working.
can anybody help me out?
-anjan