Re: Dealing with dangling index pointers - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Dealing with dangling index pointers
Date
Msg-id 12442.1184596338@sss.pgh.pa.us
Whole thread Raw
In response to Dealing with dangling index pointers  (Heikki Linnakangas <heikki@enterprisedb.com>)
Responses Re: Dealing with dangling index pointers  (Heikki Linnakangas <heikki@enterprisedb.com>)
List pgsql-hackers
Heikki Linnakangas <heikki@enterprisedb.com> writes:
> While looking at the HOT patch, I noticed that if there's an index tuple
> pointing to a non-existing heap tuple, we just silently ignore it.

This is intentional --- consider case where VACUUM has removed both
index and heap entries while some other (amazingly slow...) process is
in flight from the index to the heap.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: write_pipe_chunks patch messes up early error message output
Next
From: Hannu Krosing
Date:
Subject: Re: Dealing with dangling index pointers