pgsql: Reorder code so that we don't have to hold a critical section

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Reorder code so that we don't have to hold a critical section
Date: 2005-10-28 19:00:19
Message-ID: 20051028190019.B5D04DB1FC@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Reorder code so that we don't have to hold a critical section while
reserving SLRU space for a new MultiXact. The original coding would have
treated out-of-disk-space as a PANIC condition, which is unnecessary.

Modified Files:
--------------
pgsql/src/backend/access/transam:
multixact.c (r1.10 -> r1.11)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/transam/multixact.c.diff?r1=1.10&r2=1.11)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2005-10-28 20:00:05 pgsql: Fix broken markup.
Previous Message Tom Lane 2005-10-28 17:52:00 Re: [COMMITTERS] pgsql: Fix race condition in multixact code: it's possible to try to