Re: Minor typo in 13.3.5. Advisory Locks

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: zacharymschultz(at)gmail(dot)com
Cc: pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: Minor typo in 13.3.5. Advisory Locks
Date: 2023-03-28 20:45:53
Message-ID: 3663048.1680036353@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

PG Doc comments form <noreply(at)postgresql(dot)org> writes:
> Page: https://www.postgresql.org/docs/15/explicit-locking.html

> After the code snippet in the 6th paragraph of 13.3.5. Advisory Locks
> (https://www.postgresql.org/docs/current/explicit-locking.html#ADVISORY-LOCKS)
> I believe there is a mistake in this sentence (I've surrounded it with
> asterisks):

> "In the above queries, the second *form* is dangerous because the
> LIMIT...".

> I believe that "form" in the above sentence is actually meant to be "from",
> referencing the second line of code and its FROM clause in the snippet.

No, I think "form" is exactly what was meant. Maybe we should have
said "second query" or something like that, though.

regards, tom lane

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message David G. Johnston 2023-03-28 21:52:19 Re: Confusion between psql options and pg_service file config
Previous Message PG Doc comments form 2023-03-28 20:26:19 Confusion between psql options and pg_service file config