Throwing exceptions

From: Germán Hüttemann Arza <ghuttemann(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Throwing exceptions
Date: 2007-06-21 17:46:50
Message-ID: 200706211346.51048.ghuttemann@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message dfx 2007-06-21 17:58:05 How to install Postgresql on MS Vista?
Previous Message Erik Jones 2007-06-21 17:21:34 Re: Recovery/Restore and Roll Forward Question.