Re: [PATCH] New [relation] option engine - Mailing list pgsql-hackers

From Nikolay Shaplov
Subject Re: [PATCH] New [relation] option engine
Date
Msg-id 28479319.bbFReQmD5n@thinkpad-pgpro
Whole thread Raw
In response to Re: [PATCH] New [relation] option engine  (Nikolay Shaplov <dhyan@nataraj.su>)
Responses Re: [PATCH] New [relation] option engine
List pgsql-hackers
В письме от суббота, 16 апреля 2022 г. 17:15:34 MSK пользователь Nikolay
Shaplov написал:

Changed NoLock to AccessShareLock. This will remove last FIXME from the patch.

As more experienced pg-developers told me, you can call relation_open with
AccessShareLock, on a table you are going to work with, any time you like,
without being ashamed about it.

But this lock is visible when you have prepared transaction, so have to update
twophase test of test_decoding extension.


--
Nikolay Shaplov aka Nataraj
Fuzzing Engineer at Postgres Professional
Matrix IM: @dhyan:nataraj.su

Attachment

pgsql-hackers by date:

Previous
From: Erik Rijkers
Date:
Subject: Re: SQL/JSON: FOR ORDINALITY bug
Next
From: Tom Lane
Date:
Subject: Re: configure openldap crash warning