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

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

From
Alvaro Herrera
Date:
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

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(-)