pgsql: In checkpoint, move the check for in-progress xacts out of criti

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема pgsql: In checkpoint, move the check for in-progress xacts out of criti
Дата
Msg-id E1WW5A9-0001e0-0B@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Add an Assertion that you don't palloc within a critical section
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Move multixid allocation out of critical section.