Re: Convert Datum* to char*

From: Thomas Fanghaenel <tfanghaenel(at)salesforce(dot)com>
To: Masterprojekt Naumann1 <mpws2013n1(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Convert Datum* to char*
Date: 2014-01-06 14:41:37
Message-ID: CAK+WP1yc6x0Oh_sG4tD3yCV55UD3TBovN-fC6Fo4ho2Nj3KTfw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Jan 6, 2014 at 8:09 AM, Masterprojekt Naumann1
<mpws2013n1(at)gmail(dot)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?

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2014-01-06 14:43:45 Re: ERROR: missing chunk number 0 for toast value
Previous Message Masterprojekt Naumann1 2014-01-06 14:37:37 Re: Convert Datum* to char*