Re: (docs): add missing info about ShareLocks - Mailing list pgsql-docs

From Laurenz Albe
Subject Re: (docs): add missing info about ShareLocks
Date
Msg-id e1f76708f9824163a9dcc3c08b68a445c30a0bde.camel@cybertec.at
Whole thread Raw
In response to Re: (docs): add missing info about ShareLocks  (Alpha Shuro <alphashuro@gmail.com>)
List 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 by date:

Previous
From: Alpha Shuro
Date:
Subject: Re: (docs): add missing info about ShareLocks
Next
From: Andrew Jackson
Date:
Subject: Add Restart=on-failure To Example Systemd File