Re: BUG #5762: ecpg - Mailing list pgsql-bugs

From Michael Meskes
Subject Re: BUG #5762: ecpg
Date
Msg-id 20101129105533.GA24450@feivel.credativ.lan
Whole thread Raw
In response to BUG #5762: ecpg  ("Joaquim Salles" <joaquimsalles@gmail.com>)
List pgsql-bugs
On Mon, Nov 22, 2010 at 03:41:06PM +0000, Joaquim Salles wrote:
> In oracle I have:
>
>  EXEC SQL BEGIN DECLARE SECTION;
>
>  typedef struct _SItemInfo
>  {
>      varchar strNome [40 +1];
>
>  SItemInfo};

This seems to have the order reversed. Shouldn't it be
} SItemInfo; ?

>   EXEC SQL SELECT name INTO: FROM sitem delivery;

Dito here..

> At C code does not exist in the structure sizeof (struct
> varchar_strNome_509) because
> she 'and a member of struct SItemInfo in the above case.

Sorry but I do not understand what you're saying here.

Michael

--
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
Jabber: michael.meskes at googlemail dot com
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL

pgsql-bugs by date:

Previous
From: AI Rumman
Date:
Subject: Full Text index is not using during OR operation for multiple table join
Next
From: Maharaja Subramanian
Date:
Subject: Migrated from TWS/WebAdmin 8.1 version to TWS/WebAdmin 8.5