Re: (docs): add missing info about ShareLocks

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: (docs): add missing info about ShareLocks
Дата
Msg-id e1f76708f9824163a9dcc3c08b68a445c30a0bde.camel@cybertec.at
обсуждение исходный текст
Ответ на Re: (docs): add missing info about ShareLocks  (Alpha Shuro <alphashuro@gmail.com>)
Список pgsql-docs
On Thu, 2025-11-27 at 12:33 +0100, Alpha Shuro wrote:
> Ah thanks for pointing this out, I've moved it to the xact-locking page instead

I think that is too specific.  You can see a session waiting for a SHARE
lock on a transaction whenever it is waiting for a row lock, since row
locks are not permanently stored in the shared memory lock table.
Rather than adding a paragraph about the specific incident that happened
to you, you should describe the general mechanism.

Some reading material:
https://www.cybertec-postgresql.com/en/row-locks-in-postgresql/

Yours,
Laurenz Albe



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