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 -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs