Re: Cstring vs. Datum values ( BuildTupleFromCStrings vs. BlessTupleDesc) - Mailing list pgsql-hackers

From Greg Stark
Subject Re: Cstring vs. Datum values ( BuildTupleFromCStrings vs. BlessTupleDesc)
Date
Msg-id 407d949e1001230754m71c7729h2bfe5615fc8e9a79@mail.gmail.com
Whole thread Raw
In response to Cstring vs. Datum values ( BuildTupleFromCStrings vs. BlessTupleDesc)  (Ivan Sergio Borgonovo <mail@webthatworks.it>)
Responses Re: Re: Cstring vs. Datum values ( BuildTupleFromCStrings vs. BlessTupleDesc)  (Ivan Sergio Borgonovo <mail@webthatworks.it>)
List pgsql-hackers
On Sat, Jan 23, 2010 at 12:56 PM, Ivan Sergio Borgonovo
<mail@webthatworks.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


pgsql-hackers by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: commit fests
Next
From: "Kevin Grittner"
Date:
Subject: Re: Largeobject Access Controls (r2460)