doc: Mention the level of locks taken on objects in COMMENT

Michael Paquier <michael@paquier.xyz>

Commit: a9009f59fff148b11588cfccdc3989d3363cfab1
Author: Michael Paquier <michael@paquier.xyz>
Date: 2022-01-20T07:54:54Z
Releases: 14.2
doc: Mention the level of locks taken on objects in COMMENT

This information was nowhere to be found.  This adds one note on the
page of COMMENT, and one note in the section dedicated to explicit
locking, both telling that a SHARE UPDATE EXCLUSIVE lock is taken on the
object commented.

Author: Nikolai Berkoff
Reviewed-by: Laurenz Albe
Discussion: https://postgr.es/m/_0HDHIGcCdCsUyXn22QwI2FEuNR6Fs71rtgGX6hfyBlUh5rrnE2qMmvIFu9EY4Pijr2gUmJEAXCjuNU2Oxku9TryLp9CdHllpsCfN3gD0-Y=@pm.me
Backpatch-through: 10

Files

PathChange+/−
doc/src/sgml/mvcc.sgml modified +4 −3
doc/src/sgml/ref/comment.sgml modified +5 −0

Documentation touched

Discussion