Re: Convert Datum* to char*

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Masterprojekt Naumann1 <mpws2013n1(at)gmail(dot)com>
Cc: Thomas Fanghaenel <tfanghaenel(at)salesforce(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Convert Datum* to char*
Date: 2014-01-06 16:34:01
Message-ID: 4999.1389026041@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Masterprojekt Naumann1 <mpws2013n1(at)gmail(dot)com> writes:
> Nevertheless, slot->tts_nvalid is always 0. I hope that there is no other
> problem.

You should not be touching the tts_values/tts_isnull arrays without having
first called slot_getsomeattrs or slot_getallattrs.

See comments in src/include/executor/tuptable.h for some documentation.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2014-01-06 16:36:28 Re: generic pseudotype IO functions?
Previous Message Tom Lane 2014-01-06 16:28:29 Re: generic pseudotype IO functions?