Re: Replacing an index item

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Carsten Kropf <ckropf2(at)fh-hof(dot)de>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Replacing an index item
Date: 2010-03-11 15:20:20
Message-ID: 20428.1268320820@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Carsten Kropf <ckropf2(at)fh-hof(dot)de> writes:
> I have a question about the replacement of an item in an index page. I
> want to overwrite an existing item inside an index page.

Why exactly do you want to do that? How are you going to make it
transactionally correct or crash-safe?

FWIW, I think the ItemIdSetUnused call is wrong or at least unnecessary.
Perhaps it is confusing PageIndexTupleDelete.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Cyril Scetbon 2010-03-11 16:35:16 Re: kernel version impact on PostgreSQL performance
Previous Message Devrim GÜNDÜZ 2010-03-11 14:26:01 Re: instaling ossp-uuid