pgsql: Fix pg_buffercache to release buffer partition locks in reverse

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix pg_buffercache to release buffer partition locks in reverse
Date: 2007-07-16 21:20:36
Message-ID: 20070716212036.875899FB98F@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Fix pg_buffercache to release buffer partition locks in reverse order,
and add a note about why. This is not tremendously important right now,
probably, but it will get more urgent if NUM_BUFFER_PARTITIONS is increased
as much as proposed.

Modified Files:
--------------
pgsql/contrib/pg_buffercache:
pg_buffercache_pages.c (r1.12 -> r1.13)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/pg_buffercache/pg_buffercache_pages.c.diff?r1=1.12&r2=1.13)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2007-07-16 22:20:51 pgsql: Update docs that GNU tar versions >=1.16 exit with 1 on files
Previous Message Tom Lane 2007-07-16 21:09:50 pgsql: Add comments spelling out why it's a good idea to release