pgsql: Move multixid allocation out of critical section. - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Move multixid allocation out of critical section.
Date
Msg-id E1WW60K-0002WM-SC@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Move multixid allocation out of critical section.

It can fail if you run out of memory.

This call was added in 9.3, so backpatch to 9.3 only.

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/a2f9572ca507bfcb71bcf1b81b563e5094fd6904

Modified Files
--------------
src/backend/access/heap/heapam.c |   30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: In checkpoint, move the check for in-progress xacts out of criti
Next
From: Heikki Linnakangas
Date:
Subject: pgsql: Move multixid allocation out of critical section.