pgsql: Reword text on ROW SHARE lock as acquired by SELECT FOR <lock>

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Reword text on ROW SHARE lock as acquired by SELECT FOR <lock>
Date: 2022-04-14 19:55:56
Message-ID: E1nf5ZM-000Wib-5A@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Reword text on ROW SHARE lock as acquired by SELECT FOR <lock>

It was missing lock levels FOR KEY SHARE and FOR NO KEY EXCLUSIVE; but
also SELECT FOR UPDATE is not a command separate from SELECT, as the
original text implied. It is clearer to state that FOR <lock strength>
is an option of regular SELECT.

Per suggestion from Joey Bodoia <jbodoia21(at)cmc(dot)edu>

Reviewed-by: Joey Bodoia <jbodoia21(at)cmc(dot)edu> (offlist)
Reviewed-by: Erikjan Rijkers <er(at)xs4all(dot)nl>
Discussion: https://postgr.es/m/164908765512.682.17348032020747341013@wrigleys.postgresql.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/275e719d910459db747346a51d56185e2440763b

Modified Files
--------------
doc/src/sgml/mvcc.sgml | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2022-04-14 20:23:03 pgsql: Have CLUSTER ignore partitions not owned by caller
Previous Message Tom Lane 2022-04-14 16:14:06 pgsql: Temporarily add some probes of tenk1's relallvisible in create_i