pgsql: Mark consume_xids test functions VOLATILE and PARALLEL UNSAFE - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Mark consume_xids test functions VOLATILE and PARALLEL UNSAFE
Date
Msg-id E1szAiy-000I0V-8s@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/add77755ce851fae2f72be4b9c56a606f9362895

Modified Files
--------------
src/test/modules/xid_wraparound/xid_wraparound--1.0.sql | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: pgsql: Fix typo in connection limits test
Next
From: Nathan Bossart
Date:
Subject: pgsql: Add pg_ls_summariesdir().