pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Sabin Coanda <sabin.coanda@deuromedia.ro>
To: pgsql-sql@postgresql.org
Subject: Aleatory exception
Date: Fri, 23 Nov 2007 11:23:15 +0200
Message-ID: <fi665u$tv9$1@news.hub.org> (raw)

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 for integer: 
"NULL::int4"

For instance I got this for the following statement string:

Please explain what could be the reason ?

TIA,
Sabin 





view thread (2+ messages)  latest in thread

Message-ID: <fi665u$tv9$1@news.hub.org>
Permalink:  ../fi665u$tv9$1@news.hub.org/
Also on:    postgresql.org/message-id/fi665u$tv9$1@news.hub.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: sabin.coanda@deuromedia.ro
  Subject: Re: Aleatory exception
  In-Reply-To: <fi665u$tv9$1@news.hub.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox