From: | Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: In checkpoint, move the check for in-progress xacts out of criti |
Date: | 2014-04-04 14:32:08 |
Message-ID: | E1WW5A9-0001e0-0B@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers pgsql-hackers |
In checkpoint, move the check for in-progress xacts out of critical section.
GetVirtualXIDsDelayingChkpt calls palloc, which isn't safe in a critical
section. I thought I covered this case with the exemption for the
checkpointer, but CreateCheckPoint is also called from the startup process.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/d9e7873bbbdee76a49e76ddaa49787cab112bb2e
Modified Files
--------------
src/backend/access/transam/xlog.c | 72 ++++++++++++++++++-------------------
1 file changed, 36 insertions(+), 36 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2014-04-04 15:06:16 | Re: [COMMITTERS] pgsql: In checkpoint, move the check for in-progress xacts out of criti |
Previous Message | Heikki Linnakangas | 2014-04-04 11:31:37 | pgsql: Add an Assertion that you don't palloc within a critical section |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2014-04-04 14:39:35 | Re: Observed an issue in CREATE TABLE syntax |
Previous Message | Tom Lane | 2014-04-04 14:26:55 | Re: Proposal: COUNT(*) (and related) speedup |