psql error message overriding - Mailing list pgsql-interfaces

From Anjan Borthakur
Subject psql error message overriding
Date
Msg-id Pine.LNX.4.10.9910061344260.18767-100000@mailserver.bombay.retortsoft.com
Whole thread Raw
List pgsql-interfaces
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




pgsql-interfaces by date:

Previous
From: Dave Page
Date:
Subject: RE: [INTERFACES] pgAdmin v6.5.2 Released
Next
From: Lim Cheng Peck-A15349
Date:
Subject: [INTERFACES] [Fwd: postgresql JDBC driver question