Mark some functions parallel-unsafe.
authorRobert Haas <rhaas@postgresql.org>
Wed, 15 Jun 2016 15:40:07 +0000 (11:40 -0400)
committerRobert Haas <rhaas@postgresql.org>
Wed, 15 Jun 2016 15:40:07 +0000 (11:40 -0400)
commitc7a25c242ffa29810adc2b5320ec7542fe2928bd
treebe2043f9d5f76628f24c52a32aa17fe1bfed9548
parent8383486f108c650b187358bfe811060627c751c9
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
src/include/catalog/catversion.h
src/include/catalog/pg_proc.h