Throwing exceptions - Mailing list pgsql-general

From Germán Hüttemann Arza
Subject Throwing exceptions
Date
Msg-id 200706211346.51048.ghuttemann@gmail.com
Whole thread Raw
Responses Re: Throwing exceptions  (Scott Marlowe <smarlowe@g2switchworks.com>)
List pgsql-general
Hi,

I need a way to throw a message in a function, when an exception occurs, but I
don't want to write again and again the same message in every place I need to
throw it. So, is there a way to handle this situation in a more general
manner?

Thanks in advance,

--
Germán Hüttemann Arza
CNC - Centro Nacional de Computación
UNA - Universidad Nacional de Asunción
Campus Universitario, San Lorenzo - Paraguay
http://www.cnc.una.py - Tel.: +595 21 585550

pgsql-general by date:

Previous
From: Erik Jones
Date:
Subject: Re: Recovery/Restore and Roll Forward Question.
Next
From: Henk - CityWEB
Date:
Subject: Re: 8.2.3 PANIC with "corrupted item pointer"