Re: exception

From: Klint Gore <kgore4(at)une(dot)edu(dot)au>
To: hendra kusuma <penguinroad(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: exception
Date: 2008-11-13 06:00:31
Message-ID: 491BC27F.7050306@une.edu.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

hendra kusuma wrote:
> but I really like to ask if there is a way to catch any exeption
> instead of defining what exception we would like to catch?
> something like ELSE or what :)
>

From the manual

"The special condition name |OTHERS| matches every error type except
|QUERY_CANCELED|. "

klint.

--
Klint Gore
Database Manager
Sheep CRC
A.G.B.U.
University of New England
Armidale NSW 2350

Ph: 02 6773 3789
Fax: 02 6773 3266
EMail: kgore4(at)une(dot)edu(dot)au

In response to

  • exception at 2008-11-13 05:41:46 from hendra kusuma

Browse pgsql-general by date

  From Date Subject
Next Message Russell Smith 2008-11-13 08:27:53 Re: can someone help me to make a sql more pretty and more concise?
Previous Message hendra kusuma 2008-11-13 05:41:46 exception