Re: BUG #2785: Exception Issue - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #2785: Exception Issue
Date
Msg-id 27666.1164683104@sss.pgh.pa.us
Whole thread Raw
In response to BUG #2785: Exception Issue  ("Patrick Hayes" <pkhayeskp@hotmail.com>)
Responses Re: BUG #2785: Exception Issue
List pgsql-bugs
"Patrick Hayes" <pkhayeskp@hotmail.com> writes:
> I get the following error.

> postgres-# language plpgsql;
> ERROR:  unrecognized exception condition "no_data"
> CONTEXT:  compile of PL/pgSQL function "chip_pps_data_check" near line 101

Indeed, because no_data is not an error condition, so EXCEPTION can't
catch it.  Possibly you could do something with testing the FOUND
variable instead.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #2782: Too Many open files in system
Next
From: "Thomas H."
Date:
Subject: Re: BUG #2781: database dump/restore problems