aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlogutils.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2007-05-02 21:08:46 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2007-05-02 21:08:46 +0000
commit8ec943856a4e94637600fa7cad976281ca3f4071 (patch)
treec31da55ad5579f6cdf16128c7df4acd509d4978e /src/backend/access/transam/xlogutils.c
parent229d33801d9e31c6eda8e54bee23ed056fd2e257 (diff)
downloadpostgresql-8ec943856a4e94637600fa7cad976281ca3f4071.tar.gz
postgresql-8ec943856a4e94637600fa7cad976281ca3f4071.zip
Fix things so that when CREATE INDEX CONCURRENTLY sets pg_index.indisvalid
true at the very end of its processing, the update is broadcast via a shared-cache-inval message for the index; without this, existing backends that already have relcache entries for the index might never see it become valid. Also, force a relcache inval on the index's parent table at the same time, so that any cached plans for that table are re-planned; this ensures that the newly valid index will be used if appropriate. Aside from making C.I.C. behave more reasonably, this is necessary infrastructure for some aspects of the HOT patch. Pavan Deolasee, with a little further stuff from me.
Diffstat (limited to 'src/backend/access/transam/xlogutils.c')
0 files changed, 0 insertions, 0 deletions