Catch individual exceptions - Mailing list pgsql-general

From sconeek@gmail.com
Subject Catch individual exceptions
Date
Msg-id 1146708977.785078.109460@i40g2000cwc.googlegroups.com
Whole thread Raw
Responses Re: Catch individual exceptions  ("chris smith" <dmagick@gmail.com>)
List pgsql-general
hi all,
i want to capture individual sqlexceptions and for each different
exception i want to display a different message to the user. the
problem is how should i capture from the exception of its type-content
and then display a customised message.
all help appreciated.
thanks.


pgsql-general by date:

Previous
From: "Arjan Vroege"
Date:
Subject: ERROR: more than one row returned by a subquery used as an expression
Next
From: "Houssais Hugues"
Date:
Subject: Unify distant Postgres databases