pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: padmanabha konkodi <konkodi221@rediffmail.com>
To: pgsql-sql@postgresql.org
Subject: catching errors in  function
Date: 6 Oct 2005 06:55:46 -0000
Message-ID: <20051006065546.15349.qmail@webmail29.rediffmail.com> (raw)

  
hello sql developers,

i have written function in which while executing it may throw error.
if the error thrown i want rollback the transaction if not i want commit.

how can i achive this task.

how can catch exception thrown in the function

plz help me


regards
konkodi


view thread (3+ messages)  latest in thread

Message-ID: <20051006065546.15349.qmail@webmail29.rediffmail.com>
Permalink:  ../20051006065546.15349.qmail@webmail29.rediffmail.com/
Also on:    postgresql.org/message-id/20051006065546.15349.qmail@webmail29.rediffmail.com

 · 

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: konkodi221@rediffmail.com
  Subject: Re: catching errors in  function
  In-Reply-To: <20051006065546.15349.qmail@webmail29.rediffmail.com>

* 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