Andrew Dunstan <andrew@dunslane.net> writes:
> I think you'll need to compile with optimisation turned off and then try
> running the test under debugger control, putting a breakpoint in
> ECPGget_variable() and then stepping through it. I wonder what value of
> var->ind_pointer it is getting?
You could probably inspect the contents of *var in that dump without
having to recompile. Given that this is PPC64, I'm betting on a pointer
size or alignment problem ...
regards, tom lane