Version 8.2.4 ecpg - function not found

Started by Paul Tillesover 18 years ago2 messagesgeneral
Jump to latest
#1Paul Tilles
Paul.Tilles@noaa.gov

We are upgrading from Version 7.4.8 to 8.2.4.

In 7.4, there were functions called

ECPGis_informix_null

ECPGset_informix_null

In 8.2.4, I do not see these functions. Instead, I see functions

ECPGis_noind_null

ECPGset_noind_null

Are they functionally the same?

Also, the 8.2.4 doc (Section 31.9.1) describes the functions risnull and
rsetnull. These are the names of the original Informix functions. Are
they available for use through ecpg?

As always, TIA.

Paul Tilles

#2Michael Meskes
meskes@postgresql.org
In reply to: Paul Tilles (#1)
Re: Version 8.2.4 ecpg - function not found

On Thu, Sep 06, 2007 at 08:51:54AM -0400, Paul Tilles wrote:

ECPGis_informix_null

ECPGset_informix_null

In 8.2.4, I do not see these functions. Instead, I see functions

ECPGis_noind_null

ECPGset_noind_null

Are they functionally the same?

Yes. The 7.4 version had some naming problems.

Also, the 8.2.4 doc (Section 31.9.1) describes the functions risnull and
rsetnull. These are the names of the original Informix functions. Are
they available for use through ecpg?

Yes, they are. Just have a look at compatlib. They essantially only call
the above mentioned functions:

int
rsetnull(int t, char *ptr)
{
ECPGset_noind_null(t, ptr);
return 0;
}

int
risnull(int t, char *ptr)
{
return (ECPGis_noind_null(t, ptr));
}

Hope this helps.

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 SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!