Greg Stark <gsstark(at)mit(dot)edu> writes:
> There seems to be something I'm missing wrt the conbin string.
You can't access fields that lie to the right of a variable-width field
using C struct field names. You need to use heap_getattr() or one of
its relatives to obtain a pointer to such a field. You ought to be
checking for NULL, too.
regards, tom lane