Reword text on ROW SHARE lock as acquired by SELECT FOR <lock>
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 14 Apr 2022 19:52:20 +0000 (21:52 +0200)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 14 Apr 2022 19:52:20 +0000 (21:52 +0200)
commit275e719d910459db747346a51d56185e2440763b
tree172474bc502ef42e060dfe9be5e01ebf9f5b0fbb
parent5bb2b6abc8d6cf120a814317816e4384bcbb9c1e
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@cmc.edu>

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