Mark consume_xids test functions VOLATILE and PARALLEL UNSAFE

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: add77755ce851fae2f72be4b9c56a606f9362895
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2024-10-11T08:09:09Z
Releases: 18.0
Mark consume_xids test functions VOLATILE and PARALLEL UNSAFE

Both functions advance the transaction ID, which modifies the system
state. Thus, they should be marked as VOLATILE.

Additionally, they call the AssignTransactionId function, which cannot
be invoked in parallel mode, so they should be marked as PARALLEL
UNSAFE.

Author: Yushi Ogiwara <btogiwarayuushi@oss.nttdata.com>
Discussion: https://www.postgresql.org/message-id/18f01e4fd46448f88c7a1363050a9955@oss.nttdata.com

Files

Discussion