Re: ecpg bug with SQL TYPE xxxPtr is xxx REFERENCE?

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: Lee Kindness <lkindness(at)csl(dot)co(dot)uk>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: ecpg bug with SQL TYPE xxxPtr is xxx REFERENCE?
Date: 2001-08-08 18:50:22
Message-ID: 20010808205022.C1537@feivel.fam-meskes.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

On Wed, Aug 08, 2001 at 09:07:18AM -0700, Lee Kindness wrote:
> I believe ecpg is incorrectly handling the placement of results into a
> pointer to a host structure, consider the following function:
>
> GeoContractorTabPtr sel_geo_contractor_rec(char *project_id)
> {
> EXEC SQL BEGIN DECLARE SECTION;
> GeoContractorTabPtr ptr;

This is not a pointer. This defines ptr to be a struct, doesn't it?

> ...

Michael
--
Michael Meskes
Michael(at)Fam-Meskes(dot)De
Go SF 49ers! Go Rhein Fire!
Use Debian GNU/Linux! Use PostgreSQL!

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Michael Meskes 2001-08-08 18:57:56 Argh (was about an ECPG bug)
Previous Message Lee Kindness 2001-08-08 16:07:18 ecpg bug with SQL TYPE xxxPtr is xxx REFERENCE?