pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Emi Lu <emilu@encs.concordia.ca>
To: pgsql-sql@postgresql.org
Subject: Getting more information about errorcodes such as when these error1 happen
Date: Wed, 29 Mar 2006 12:05:45 -0500
Message-ID: <442ABE69.4030703@encs.concordia.ca> (raw)

Good morning,

In my plpgsql functions I use "exception when..." to catch possible 
exceptions of my data. I found postgresql error code track functions are 
very helpful.  In my functions, I will not catch all error codes, but 
only the ones applying to my data operation .

I found errorcodes info here:
http://www.postgresql.org/docs/8.1/static/errcodes-appendix.html

But I am afraid that I could not imagine when and under what possible 
circumstances some errorcodes may happen just by their names such as : 
locator_exception, invalid_grantor,  active_sql_transaction , and so on.

I tried to search the online docs in order to get more info such as when 
will errorcode X happens. But I could not find it.

Could someone tell me some links that I can find more information about 
these errorcodes please?

Thanks alot,
Ying



Message-ID: <442ABE69.4030703@encs.concordia.ca>
Permalink:  ../442ABE69.4030703@encs.concordia.ca/
Also on:    postgresql.org/message-id/442ABE69.4030703@encs.concordia.ca

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: emilu@encs.concordia.ca
  Subject: Re: Getting more information about errorcodes such as when these error1 happen
  In-Reply-To: <442ABE69.4030703@encs.concordia.ca>

* 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