Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group