Change locktype "speculative token" to "spectoken".
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 16 May 2020 01:47:21 +0000 (21:47 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 16 May 2020 01:47:34 +0000 (21:47 -0400)
commit474e7da6485687425d216eda1685d7e530b24fd6
treedaea35ff7255a2b0d2991e8d7298077216677e84
parent1d3743023ef8fa665902e791b0d52e9a1ab419cb
Change locktype "speculative token" to "spectoken".

It's just weird that this name wasn't chosen to look like an
identifier.  The suspicion that it wasn't thought about too
hard is reinforced by the fact that it wasn't documented in
the pg_locks view (until I did so, a day or two back).

Update, and add a comment reminding future adjusters of this
array to fix the docs too.

Do some desultory wordsmithing on various entries in the wait
events tables.

Discussion: https://postgr.es/m/24595.1589326879@sss.pgh.pa.us
doc/src/sgml/catalogs.sgml
doc/src/sgml/monitoring.sgml
src/backend/utils/adt/lockfuncs.c
src/test/isolation/expected/insert-conflict-specconflict.out
src/test/isolation/specs/insert-conflict-specconflict.spec