pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Mark consume_xids test functions VOLATILE and PARALLEL UNSAFE
Date: Fri, 11 Oct 2024 08:10:11 +0000
Message-ID: <E1szAiy-000I0V-8s@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1szAiy-000I0V-8s@gemulon.postgresql.org>
Permalink:  ../E1szAiy-000I0V-8s@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1szAiy-000I0V-8s@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: heikki.linnakangas@iki.fi, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Mark consume_xids test functions VOLATILE and PARALLEL UNSAFE
  In-Reply-To: <E1szAiy-000I0V-8s@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox