Should pg_export_snapshot() and currtid() be tagged parallel-unsafe?

From: Andreas Seltenreich <seltenreich(at)gmx(dot)de>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Should pg_export_snapshot() and currtid() be tagged parallel-unsafe?
Date: 2016-06-14 21:01:53
Message-ID: 87ziqno56m.fsf@credativ.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Digging through the sqlsmith logging db, I noticed the following errors:

ERROR: cannot update SecondarySnapshot during a parallel operation
ERROR: cannot assign XIDs during a parallel operation

Queries raising the first one always contain calls to currtid() or
currtid2(). Queries raising the second one always contain a call to
pg_export_snapshot(). Patch to tag them as unsafe attached.

regards,
Andreas

Attachment Content-Type Size
parallel-safety-tagging.patch text/x-diff 2.4 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jim Nasby 2016-06-14 21:13:52 Re: 10.0
Previous Message Tom Lane 2016-06-14 20:56:47 Re: 10.0