Thread: pgsql: Mark some functions parallel-unsafe.

pgsql: Mark some functions parallel-unsafe.

From
Robert Haas
Date:
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(-)