![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
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 |
#3
| |||
| |||
|
|
From: Tom Lane <tgl (AT) sss (DOT) pgh.pa.us To: "Patrick Hayes" <pkhayeskp (AT) hotmail (DOT) com CC: pgsql-bugs (AT) postgresql (DOT) org Subject: Re: [BUGS] BUG #2785: Exception Issue Date: Mon, 27 Nov 2006 22:05:04 -0500 "Patrick Hayes" <pkhayeskp (AT) hotmail (DOT) 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 |
![]() |
| Thread Tools | |
| Display Modes | |
| |