pgsql: Mark consume_xids test functions VOLATILE and PARALLEL UNSAFE

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема pgsql: Mark consume_xids test functions VOLATILE and PARALLEL UNSAFE
Дата
Msg-id E1szAiy-000I0V-8s@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления: