Cache invalidation was changed a little

From: "Hiroshi Inoue" <Inoue(at)tpf(dot)co(dot)jp>
To: "pgsql-hackers" <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Cache invalidation was changed a little
Date: 2000-01-10 06:38:27
Message-ID: 000501bf5b35$4d6f5740$2801007e@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi

I have just committed changes to cache invalidation stuff.
Maybe this would fix the following TODO.
* elog() flushes cache, try invalidating just entries from current xact,
perhaps using invalidation cache

1) In case of abort,catalog cache and relation cache will
be invalidated for system tuples marked by Relation-
Mark4RollbackHeapTuple(). Both heap_insert() and
heap_update() call RelationMark4RollbackHeapTuple().

2) CommandCounterIncrement() calls AtCommit_LocalCache()
instead of AtCommit_Cache(). Registration of cache
invalidation for other backends was postponed until commit.

3) The new function ImmediateSharedRelationCacheInvalidate()
is called from smgrunlink()/smgrtruncate() in order to register
relation cache invalidation immediately.

Regards.

Hiroshi Inoue
Inoue(at)tpf(dot)co(dot)jp

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephen Birch 2000-01-10 07:24:41 Re: [HACKERS] Re:HEAP_MOVED_IN during vacuum - test case
Previous Message Tom Lane 2000-01-10 05:44:33 Re: [HACKERS] Number of index fields configurable