Re: forming tuple as an attribute inside another tuple in c function - Mailing list pgsql-hackers

From Tom Lane
Subject Re: forming tuple as an attribute inside another tuple in c function
Date
Msg-id 20318.1285547546@sss.pgh.pa.us
Whole thread Raw
In response to forming tuple as an attribute inside another tuple in c function  (Marios Vodas <mvodas@gmail.com>)
Responses Re: forming tuple as an attribute inside another tuple in c function  (Marios Vodas <mvodas@gmail.com>)
List pgsql-hackers
Marios Vodas <mvodas@gmail.com> writes:
> Is it posible? Either by using heap_form_tuple or BuildTupleFromCStrings.

heap_form_tuple followed by HeapTupleGetDatum should work; that's what's
done in ExecEvalRow() for instance.  You've omitted to tell us just
what's going wrong for you.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [COMMITTERS] pgsql: Still more tweaking of git_changelog.
Next
From: Jaime Casanova
Date:
Subject: Re: recovery.conf location