pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: A.Bhuvaneswaran <bhuvan@symonds.net>
To: sundaresan raman <netsun_r@yahoo.com>
Cc: pgsql-sql@postgresql.org
Subject: Re:
Date: Tue, 23 Dec 2003 10:52:14 +0530
Message-ID: <1072156931.1410.6.camel@Bhuvan.bksys.co.in> (raw)
In-Reply-To: <20031222103043.50050.qmail@web41006.mail.yahoo.com>
References: <20031222103043.50050.qmail@web41006.mail.yahoo.com>

> I am new of postgre sql.im using cursors in pgsql and
> getting tuples successfully returns in c++, but how
> can i raise exception in the stored function?.pl
> anyone help me.

You can use 'raise exception' for this purpose. Refer this link for
details:
http://www.postgresql.org/docs/current/interactive/plpgsql-errors-and-messages.html

regards,
bhuvaneswaran

Attachments:

  signature.asc (application/pgp-signature, 231B) download

view thread (2+ messages)

Message-ID: <1072156931.1410.6.camel@Bhuvan.bksys.co.in>
Permalink:  ../1072156931.1410.6.camel@Bhuvan.bksys.co.in/
Also on:    postgresql.org/message-id/1072156931.1410.6.camel@Bhuvan.bksys.co.in

 · 

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: bhuvan@symonds.net, netsun_r@yahoo.com
  Subject: Re:
  In-Reply-To: <1072156931.1410.6.camel@Bhuvan.bksys.co.in>

* 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