pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Fuhr <mike@fuhr.org>
To: sandhya <sandhyar@amiindia.co.in>
Cc: postgre <pgsql-admin@postgresql.org>
Subject: Re: Reg : Error Handling
Date: Wed, 19 Oct 2005 11:25:07 -0600
Message-ID: <20051019172507.GA72974@winnie.fuhr.org> (raw)
In-Reply-To: <057401c5d497$a25e81e0$cd00000a@amiindiahjwbgh>
References: <057401c5d497$a25e81e0$cd00000a@amiindiahjwbgh>

On Wed, Oct 19, 2005 at 03:56:57PM +0530, sandhya wrote:
> In error handling suppose if the database already exists..
> 
> It is returning : database "sample(say)" doesn't exists.

What is "it"?  What error handling are you talking about?  What are
you doing that results in the error, and why does the error message
(database doesn't exist) contradict what you first said (database
already exists)?  Or is that part of what's puzzling you?  What
does your query or function code (or whatever) look like, and what
is the *exact* text of the error message?

> If i want to return general error messages with out specifying names how can i?

Return error messages from where?

> 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?

Please tell us more about what you're doing and what problem you're
trying to solve.  We don't have enough information to answer your
questions without a lot of guessing.

Incidentally, I notice that your Subject headers always begin with
the word "Reg".  What's that about?  I've seen it a few other places
but have never known what it meant.  Anybody?

-- 
Michael Fuhr



view thread (4+ messages)  latest in thread

Message-ID: <20051019172507.GA72974@winnie.fuhr.org>
Permalink:  ../20051019172507.GA72974@winnie.fuhr.org/
Also on:    postgresql.org/message-id/20051019172507.GA72974@winnie.fuhr.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: mike@fuhr.org, sandhyar@amiindia.co.in
  Subject: Re: Reg : Error Handling
  In-Reply-To: <20051019172507.GA72974@winnie.fuhr.org>
  References: <057401c5d497$a25e81e0$cd00000a@amiindiahjwbgh> <20051019172507.GA72974@winnie.fuhr.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox