Re: Wrong advisory locks docs in pg_locks - Mailing list pgsql-docs

From Tom Lane
Subject Re: Wrong advisory locks docs in pg_locks
Date
Msg-id 13976.1322327847@sss.pgh.pa.us
Whole thread Raw
In response to Wrong advisory locks docs in pg_locks  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
List pgsql-docs
Daniele Varrazzo <daniele.varrazzo@gmail.com> writes:
> documentation about advisory locks in the pg_locks view
> <http://developer.postgresql.org/pgdocs/postgres/view-pg-locks.html>
> is incorrect/incomplete: the space specifier field is objsubid, not
> objid, and there is no information about how the key is stored.

Actually, there is a paragraph further down that correctly explains what
advisory locks look like.  I think the best fix is to remove the
incorrect annotation on objid and leave it at that; shoehorning
additional sentences into table columns that are meant to contain
short phrases is not an improvement.

            regards, tom lane

pgsql-docs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Documentation example for RECURISVE WITH isn't what I would expect
Next
From: Bruce Momjian
Date:
Subject: Re: File_FDW with example