Throwing exceptions

From: Germán Hüttemann Arza <ghuttemann(at)cnc(dot)una(dot)py>
To: pgsql-general(at)postgresql(dot)org
Subject: Throwing exceptions
Date: 2007-06-21 15:30:53
Message-ID: 200706211130.54171.ghuttemann@cnc.una.py
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 Scott Marlowe 2007-06-21 15:32:51 Re: persistent db connections in PHP
Previous Message Robert Treat 2007-06-21 15:29:25 Re: postgresql and solaris 10: pitch to sysadmins