psql error message overriding

From: Anjan Borthakur <anjan(at)bombay(dot)retortsoft(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: psql error message overriding
Date: 1999-10-06 08:23:44
Message-ID: Pine.LNX.4.10.9910061344260.18767-100000@mailserver.bombay.retortsoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-interfaces by date

  From Date Subject
Next Message Dave Page 1999-10-06 08:55:22 RE: [INTERFACES] pgAdmin v6.5.2 Released
Previous Message J. Carlos Muro 1999-10-06 06:18:43 Questions connecting to PostgreSQL.