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

From Alpha Shuro
Subject (docs): add missing info about ShareLocks
Date
Msg-id 4274DCF3-177F-43D8-8547-90B8540B6619@gmail.com
Whole thread Raw
Responses Re: (docs): add missing info about ShareLocks
List pgsql-docs
Hello

I had a production incident a few weeks ago while using deferred indexes, where the Postgres docs lead me down the
wrongpath of investigation due to missing details. Specifically, the docs implied that a `ShareLock` was only acquired
whencreating indexes, but only after looking at the code did I learn that this lock is also acquired when transactions
arewaiting for other transactions to complete. I think this would be helpful to someone who might find themselves on
thesame path in the future, and as I understand it this mailing list is the way to submit patches to the docs? 


Attachment

pgsql-docs by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: Documentation improvement patch
Next
From: Laurenz Albe
Date:
Subject: Re: (docs): add missing info about ShareLocks