View Single Post

   
  #2 (permalink)  
Old 04-10-2008, 11:16 AM
Michael Meskes
 
Posts: n/a
Default Re: BUG #4090: ECPG Selecting table with NULL values

> In ECPG when I have "$select a into :a from table where b = :b;" this query
> raises an error if the value a is NULL.
> If I have added the indicator value "$select a int :a, :a_ind from table
> where b = :b;" this also raises the same error. I cannot read rows including
> null values without raising this error. From the documentation the
> indicator value should prevent raising this error but it is not.
>
> I compile with INFORMIX compablity mode from ESQL sourcecode ported to
> PostgreSQL.


Could you send us a test case? Does it work when not using INFORMIX
mode? Do you use the "-r no_indicator" option?

Michael
--
Michael Meskes
Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
Go VfL Borussia! Go SF 49ers! Use Debian GNU/Linux! Use PostgreSQL!

--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

Reply With Quote