Re: Version 8.2.4 ecpg - function not found

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: Paul Tilles <Paul(dot)Tilles(at)noaa(dot)gov>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Version 8.2.4 ecpg - function not found
Date: 2007-09-25 11:26:56
Message-ID: 20070925112656.GA25517@feivel.credativ.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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(at)jabber(dot)org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ashish Karalkar 2007-09-25 11:32:34 Fw: PgpoolAdmin installation
Previous Message Devrim GÜNDÜZ 2007-09-25 10:27:25 Re: PgpoolAdmin installation