Skip site navigation (1) Skip section navigation (2)

Re: BUG #2785: Exception Issue

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Patrick Hayes" <pkhayeskp(at)hotmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #2785: Exception Issue
Date: 2006-11-28 03:05:04
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
"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

In response to


pgsql-bugs by date

Next:From: Thomas H.Date: 2006-11-28 03:11:18
Subject: Re: BUG #2781: database dump/restore problems
Previous:From: Tom LaneDate: 2006-11-28 03:01:06
Subject: Re: BUG #2782: Too Many open files in system

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group