Re: ecpg bug with SQL TYPE xxxPtr is xxx REFERENCE? - Mailing list pgsql-interfaces

From Michael Meskes
Subject Re: ecpg bug with SQL TYPE xxxPtr is xxx REFERENCE?
Date
Msg-id 20010808205022.C1537@feivel.fam-meskes.de
Whole thread Raw
In response to ecpg bug with SQL TYPE xxxPtr is xxx REFERENCE?  (lkindness@csl.co.uk (Lee Kindness))
Responses Re: ecpg bug with SQL TYPE xxxPtr is xxx REFERENCE?
List 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@Fam-Meskes.De
Go SF 49ers! Go Rhein Fire!
Use Debian GNU/Linux! Use PostgreSQL!


pgsql-interfaces by date:

Previous
From: Michael Meskes
Date:
Subject: Argh (was about an ECPG bug)
Next
From: Carlos Moreno
Date:
Subject: Maybe off-topic: Why MySQL so popular? (or why PostgreSQL so un-popular?)