Re: pg_index updates and SI invalidation

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Pavan Deolasee" <pavan(dot)deolasee(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_index updates and SI invalidation
Date: 2007-03-26 17:45:46
Message-ID: 3661.1174931146@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Pavan Deolasee" <pavan(dot)deolasee(at)gmail(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2007-03-26 17:52:00 Re: Guarenteeing complex referencial integrity through custom triggers
Previous Message Pavan Deolasee 2007-03-26 17:27:29 pg_index updates and SI invalidation