Re: Replacing an index item - Mailing list pgsql-general

From Tom Lane
Subject Re: Replacing an index item
Date
Msg-id 20428.1268320820@sss.pgh.pa.us
Whole thread Raw
In response to Replacing an index item  (Carsten Kropf <ckropf2@fh-hof.de>)
List pgsql-general
Carsten Kropf <ckropf2@fh-hof.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

pgsql-general by date:

Previous
From: Devrim GÜNDÜZ
Date:
Subject: Re: instaling ossp-uuid
Next
From: Chris Travers
Date:
Subject: Re: Naming conventions for lots of stored procedures