Re: Questions of 'for update'

Поиск
Список
Период
Сортировка
От Kuntal Ghosh
Тема Re: Questions of 'for update'
Дата
Msg-id CAGz5QCL6U+3k=1iDcQcEjb-j960h0GRVcBJM-_f27WH7EJU3-Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Questions of 'for update'  (Etsuro Fujita <etsuro.fujita@gmail.com>)
Ответы Re: Questions of 'for update'  (Zhenghua Lyu <zlv@pivotal.io>)
Список pgsql-hackers
On Mon, Jun 10, 2019 at 12:42 PM Etsuro Fujita <etsuro.fujita@gmail.com> wrote:
Hi,

On Mon, Jun 10, 2019 at 3:50 PM Kuntal Ghosh <kuntalghosh.2007@gmail.com> wrote:
> On Mon, Jun 10, 2019 at 11:31 AM Zhenghua Lyu <zlv@pivotal.io> wrote:
>> 2. Is the case above a bug or a feature?
>>
> IMHO, it looks like an expected behaviour of a correct transaction management implementation.

This is documented behavior; see the Caution for The Locking Clause on
the SELECT reference page:
https://www.postgresql.org/docs/11/sql-select.html


Great. It also suggests a workaround. 


--
Thanks & Regards,
Kuntal Ghosh
EnterpriseDB: http://www.enterprisedb.com

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

Предыдущее
От: Etsuro Fujita
Дата:
Сообщение: Re: Questions of 'for update'
Следующее
От: Kuntal Ghosh
Дата:
Сообщение: Re: Why to index a "Recently DEAD" tuple when creating index