Subject gpre "Undocumented feature"
Author Peter Faulks
G'day

Using embedded sql:

EXEC SQL SELECT i.column, [.......] FROM itable i [ETC.....]


int aclass::afunction()
{
int i;
//etc etc.....
}

gpre complains about the line 'int i' - expected dot after context
variable, encountered ";"

Change the variable name so it doesn't conflict with the table alias and
all is sweetness and light..

Why should there be an error if a variable name happens to be the same as
a table alias? Surely they are in different namespaces? Why is gpre even
looking at stuff not between EXEC SQL and a semi-colon?

Regards