| From: | "Fernando Hevia" <fhevia(at)ip-tel(dot)com(dot)ar> |
|---|---|
| To: | "'Andrew Sullivan'" <ajs(at)crankycanuck(dot)ca>, <pgsql-sql(at)postgresql(dot)org> |
| Subject: | Re: NO DATA FOUND Exception |
| Date: | 2007-06-25 19:55:58 |
| Message-ID: | 04ed01c7b762$da216c50$8f01010a@iptel.com.ar |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general pgsql-novice pgsql-sql |
>On Mon, Jun 25, 2007 at 04:20:37PM -0300, Fernando Hevia wrote:
>> when <<data_found>> then return variable;
>> when <<no_data_found>> then <<do nothing/continue>> ;
>> when <<any_other_exception>> then <<raise some error message>> ;
>
>Check out the FOUND variable in the documentation for the first two,
>and the "trapping errors" section for the latter.
>
>Andrew Sullivan | ajs(at)crankycanuck(dot)ca
Thanks for the tip. I was looking in the wrong place.
The FOUND variable is explained in chapter "37.6.6. Obtaining the Result
Status".
Thanks again,
Fernando.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Glaesemann | 2007-06-25 20:05:19 | Re: NO DATA FOUND Exception |
| Previous Message | Adrián Ribao Martínez | 2007-06-25 19:53:09 | I want to apologize |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Glaesemann | 2007-06-25 20:05:19 | Re: NO DATA FOUND Exception |
| Previous Message | Andrew Sullivan | 2007-06-25 19:35:21 | Re: NO DATA FOUND Exception |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Glaesemann | 2007-06-25 20:05:19 | Re: NO DATA FOUND Exception |
| Previous Message | Andrew Sullivan | 2007-06-25 19:35:21 | Re: NO DATA FOUND Exception |