Aleatory exception - Mailing list pgsql-sql

From Sabin Coanda
Subject Aleatory exception
Date
Msg-id fi665u$tv9$1@news.hub.org
Whole thread Raw
List pgsql-sql
Hi there,

I have a custom function where I execute a dynamic statement. I trap the 
exceptions, and sometimes I got the following error data:           SQLSTATE = 22P02, SQLERRM = invalid input syntax
forinteger: 
 
"NULL::int4"

For instance I got this for the following statement string:

Please explain what could be the reason ?

TIA,
Sabin 




pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: PL argument max size, and doubt
Next
From: "Sabin Coanda"
Date:
Subject: Re: Aleatory exception