SPI isolation changes

From: Seino Yuki <seinoyu(at)oss(dot)nttdata(dot)com>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: SPI isolation changes
Date: 2023-06-30 14:15:54
Message-ID: 295eeac9054979182770bdf9d72d28d3@oss.nttdata.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

When I read the documents and coding of SPI, [1]
I found that the following the SPI_start_transaction does not support
transaciton_mode(ISOLATION LEVEL, READ WRITE/READ ONLY) like BEGIN
command. [2]
Is there a reason for this?

I would like to be able to set transaciton_mode in
SPI_start_transaction.
What do you think?

[1]
https://www.postgresql.org/docs/devel/spi-spi-start-transaction.html

[2]
https://www.postgresql.org/docs/devel/sql-begin.html

Regards,
--
Seino Yuki
NTT DATA CORPORATION

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Karina Litskevich 2023-06-30 14:25:49 Re: Avoid unused value (src/fe_utils/print.c)
Previous Message Hayato Kuroda (Fujitsu) 2023-06-30 13:58:45 RE: [PoC] pg_upgrade: allow to upgrade publisher node