Thread: pgsql: Fix pg_buffercache to release buffer partition locks in reverse

pgsql: Fix pg_buffercache to release buffer partition locks in reverse

From
tgl@postgresql.org (Tom Lane)
Date:
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)