Thread: How to modify a tuple returned by SPI_copytuple?
I checked the documentation, and still do not get it. I can use SPI_copytuple to return a modified version of a tuple, but how do I modify a structure of type HeapTuple. In my case, I just want to modify a INT32 column for sorting. Any ideas? Regards, Mario Weilguni
On Mon, Sep 19, 2005 at 08:01:55AM +0200, Mario Weilguni wrote: > I checked the documentation, and still do not get it. I can use SPI_copytuple > to return a modified version of a tuple, but how do I modify a structure of > type HeapTuple. Does SPI_modifytuple() not do what you want? -- Michael Fuhr
Hello, for sure, I'm just did not find this function. Thanks alot. Best regards, Mario Am Montag, 19. September 2005 15:20 schrieb Michael Fuhr: > On Mon, Sep 19, 2005 at 08:01:55AM +0200, Mario Weilguni wrote: > > I checked the documentation, and still do not get it. I can use > > SPI_copytuple to return a modified version of a tuple, but how do I > > modify a structure of type HeapTuple. > > Does SPI_modifytuple() not do what you want?