Problem with catching my own exception messages.

From: "Gorodowienko Daniel" <daniel(dot)gorodowienko(at)interia(dot)pl>
To: "pgsql-general" <pgsql-general(at)postgresql(dot)org>
Subject: Problem with catching my own exception messages.
Date: 2005-06-07 15:49:10
Message-ID: 009c01c56b78$7272f070$5208000a@gadmin
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I want to write a function that returns a raise message catched by:
EXCEPTION
WHEN RAISE_EXCEPTION THEN
RETURN .........
If exception was raise like this:
RAISE EXCEPTION 'some exception';
and I want to get 'some exception', so what should I write instead of
......... ???

----------------------------------------------------------------------
Znajdz swoja milosc na wiosne... >>> http://link.interia.pl/f187a

Responses

Browse pgsql-general by date

  From Date Subject
Next Message brew 2005-06-07 15:51:32 Debian Stable goes from Woody to Sarge!!
Previous Message Dianne Yumul 2005-06-07 15:44:27 Re: Postgresql fails to start?