How to modify a tuple returned by SPI_copytuple?

From: Mario Weilguni <mweilguni(at)sime(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: How to modify a tuple returned by SPI_copytuple?
Date: 2005-09-19 06:01:55
Message-ID: 200509190801.55974.mweilguni@sime.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message ShepherdHill DB Subscriptions 2005-09-19 06:33:17 Replicator
Previous Message hubert depesz lubaczewski 2005-09-19 05:27:05 Re: BIG installations of PostgresQL?