X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 1EBAEDA20A for ; Wed, 19 Oct 2005 07:19:30 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 13150-07 for ; Wed, 19 Oct 2005 10:19:24 +0000 (GMT) Received: from mars.amiindia.co.in (unknown [203.199.198.229]) by svr1.postgresql.org (Postfix) with ESMTP id A5C81DA21E for ; Wed, 19 Oct 2005 07:19:19 -0300 (ADT) Received: from amiindiahjwbgh ([10.0.0.205]) (authenticated bits=0) by mars.amiindia.co.in (8.12.11/8.12.11) with ESMTP id j9JAGNhY015520; Wed, 19 Oct 2005 15:46:24 +0530 Message-ID: <057401c5d497$a25e81e0$cd00000a@amiindiahjwbgh> From: "sandhya" To: "postgre" Cc: "sandhya" Subject: Reg : Error Handling Date: Wed, 19 Oct 2005 15:56:57 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0571_01C5D4C5.BB97F0F0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.061 required=5 tests=[AWL=-0.017, FORGED_RCVD_HELO=0.05, HTML_60_70=0.027, HTML_MESSAGE=0.001] X-Spam-Level: X-Archive-Number: 200510/216 X-Sequence-Number: 19288 This is a multi-part message in MIME format. ------=_NextPart_000_0571_01C5D4C5.BB97F0F0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable In error handling suppose if the database already exists.. It is returning : database "sample(say)" doesn't exists. If i want to return general error messages with out specifying names how = can i? Tell me where can i get the error codes for this instead of messages and = how can i retrieve error no instead of printing message? ------=_NextPart_000_0571_01C5D4C5.BB97F0F0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
In error handling suppose if the = database already=20 exists..
 
It is returning : database = "sample(say)" doesn't=20 exists.
 
If i want to return general error = messages with out=20 specifying names how can i?
Tell me where can i get the error codes = for this=20 instead of messages and how can i retrieve error no instead of printing=20 message?
------=_NextPart_000_0571_01C5D4C5.BB97F0F0--