table_open/table_close with different lock mode

Поиск
Список
Период
Сортировка
От Junwang Zhao
Тема table_open/table_close with different lock mode
Дата
Msg-id CAEG8a3+90m3CYiQJvp=TaTCrdh27c12d05DcYLK51jZn87nL1Q@mail.gmail.com
обсуждение исходный текст
Ответы Re: table_open/table_close with different lock mode  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
Hey hackers,

I noticed there are some places calling table_open with
RowExclusiveLock but table_close with NoLock, like in function
toast_save_datum.

Can anybody explain the underlying logic, thanks in advance.

-- 
Regards
Junwang Zhao



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

Предыдущее
От: Bharath Rupireddy
Дата:
Сообщение: Re: Synchronizing slots from primary to standby
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: Row pattern recognition