Re: Prevent writes on large objects in read-only transactions

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Prevent writes on large objects in read-only transactions
Дата
Msg-id YpVzcxR6yYjmEPN6@paquier.xyz
обсуждение исходный текст
Ответ на Re: Prevent writes on large objects in read-only transactions  (Laurenz Albe <laurenz.albe@cybertec.at>)
Список pgsql-hackers
On Fri, May 27, 2022 at 02:02:24PM +0200, Laurenz Albe wrote:
> On Fri, 2022-05-27 at 15:30 +0900, Yugo NAGATA wrote:
>> Currently, lo_creat(e), lo_import, lo_unlink, lowrite, lo_put,
>> and lo_from_bytea are allowed even in read-only transactions.
>> By using them, pg_largeobject and pg_largeobject_metatable can
>> be modified in read-only transactions and the effect remains
>> after the transaction finished. Is it unacceptable behaviours,
>> isn't it?
>
> +1

And I have forgotten to add your name as a reviewer.  Sorry about
that!
--
Michael

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Prevent writes on large objects in read-only transactions
Следующее
От: Thomas Munro
Дата:
Сообщение: Failures in sto_using_cursor test