Re: BUG #5762: ecpg

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: Joaquim Salles <joaquimsalles(at)gmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5762: ecpg
Date: 2010-11-29 10:55:33
Message-ID: 20101129105533.GA24450@feivel.credativ.lan
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Maharaja Subramanian 2010-11-29 12:36:57 Migrated from TWS/WebAdmin 8.1 version to TWS/WebAdmin 8.5
Previous Message AI Rumman 2010-11-29 10:27:05 Full Text index is not using during OR operation for multiple table join