Re: pg_index updates and SI invalidation - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pg_index updates and SI invalidation
Date
Msg-id 3661.1174931146@sss.pgh.pa.us
Whole thread Raw
In response to pg_index updates and SI invalidation  ("Pavan Deolasee" <pavan.deolasee@gmail.com>)
Responses Re: pg_index updates and SI invalidation  ("Pavan Deolasee" <pavan.deolasee@gmail.com>)
List pgsql-hackers
"Pavan Deolasee" <pavan.deolasee@gmail.com> writes:
> While experimenting with the proposed CREATE INDEX support with
> HOT, I realized that SI invalidation are not sent properly for pg_index
> updates.

Hmm ... actually, CREATE INDEX CONCURRENTLY gets this wrong already, no?
I suspect that sessions existing at the time C.I.C is done will never
see the new index as valid, unless something else happens to make them
drop and rebuild their relcache entries for it.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Pavan Deolasee"
Date:
Subject: pg_index updates and SI invalidation
Next
From: Tom Lane
Date:
Subject: Re: Guarenteeing complex referencial integrity through custom triggers