Should pg_export_snapshot() and currtid() be tagged parallel-unsafe? - Mailing list pgsql-hackers

From Andreas Seltenreich
Subject Should pg_export_snapshot() and currtid() be tagged parallel-unsafe?
Date
Msg-id 87ziqno56m.fsf@credativ.de
Whole thread Raw
Responses Re: Should pg_export_snapshot() and currtid() be tagged parallel-unsafe?  (Robert Haas <robertmhaas@gmail.com>)
List 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

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: 10.0
Next
From: Jim Nasby
Date:
Subject: Re: 10.0