> 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