Re: Cstring vs. Datum values ( BuildTupleFromCStrings vs. BlessTupleDesc)

From: Greg Stark <gsstark(at)mit(dot)edu>
To: Ivan Sergio Borgonovo <mail(at)webthatworks(dot)it>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Cstring vs. Datum values ( BuildTupleFromCStrings vs. BlessTupleDesc)
Date: 2010-01-23 15:54:04
Message-ID: 407d949e1001230754m71c7729h2bfe5615fc8e9a79@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Jan 23, 2010 at 12:56 PM, Ivan Sergio Borgonovo
<mail(at)webthatworks(dot)it> wrote:
> And if I can... how, why and when... because I didn't find any clear
> example in the source tree that gives me a clue about when I'd use
> one form or the other.
>

There are a few contrib modules which make good examples, you could
look at contrib/pageinspect/heapfuncs.c:heap_page_items() for
example.

--
greg

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kevin Grittner 2010-01-23 15:55:30 Re: Largeobject Access Controls (r2460)
Previous Message Kevin Grittner 2010-01-23 15:47:54 Re: commit fests