Is it still necessary to define SQL TYPEs twice?
eg
typedef struct foo { ... } foo_t;
EXEC SQL TYPE foo_t IS struct foo { ... };
Is there some less maintenance-error-prone way to accomplish this? I
know about the -c option to ecpg, but this doesn't help if I need to
access the defined type from a .c file.
Ideally the C level typedef would be in a .h file somewhere and either
#include-ed or EXEC SQL INCLUDE-ed into .c or .pgc file
Thanks
--
Edmund Bacon <ebacon@onesystem.com>