pgsql: Mark some functions parallel-unsafe.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: Mark some functions parallel-unsafe.
Дата
Msg-id E1bDD0V-00085J-Rz@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Mark some functions parallel-unsafe.

currtid() and currtid2() call GetLatestSnapshot(), which fails in
parallel mode.  pg_export_snapshot() calls ExportSnapshot() which
attempts to assign an XID for the current transaction if it does not
already have one; that, too, will fail in parallel mode.

Andreas Seltenreich

Branch
------
master

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

Modified Files
--------------
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_proc.h    | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Force idle_in_transaction_session_timeout off in pg_dump and aut
Следующее
От: Robert Haas
Дата:
Сообщение: Re: [HACKERS] Re: pgsql: Avoid extra locks in GetSnapshotData if old_snapshot_threshold <