pgsql: In checkpoint, move the check for in-progress xacts out of criti
pgsql: In checkpoint, move the check for in-progress xacts out of criti
От:
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Дата:
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(-)