2014/1/6 Thomas Fanghaenel <tfanghae...@salesforce.com>

> On Mon, Jan 6, 2014 at 8:09 AM, Masterprojekt Naumann1
> <mpws201...@gmail.com> wrote:
> > Why is the memory of the variable uninitialized?
>
> Are you checking that "i <= slot->tts_nvalid" before accessing the
> tts_values and tts_isnull arrays?
>


Thanks for your ideas! I could fix the segmentation fault. I have to check
both, slot->tts_isnull and 0 == slot->tts_values[i]. If both are false, I
can convert the value with the method TextDatumGetCString(...).
Nevertheless, slot->tts_nvalid is always 0. I hope that there is no other
problem.

Reply via email to