yugabyte/yugabyte-db
Auf GitHub ansehen[docs] The YB doc account of SELECT misses the FETCH and FOR UPDATE clauses
Open
#6.147 geöffnet am 25. Okt. 2020
area/ysqlhelp wantedkind/enhancementpriority/medium
Repository-Metriken
- Stars
- (8.229 Stars)
- PR-Merge-Metriken
- (Durchschn. Merge 17T 21h) (92 gemergte PRs in 30 T)
Beschreibung
Jira Link: DB-2202
The PostgreSQL 11 documentation describes the FETCH clause thus:
[ FETCH { FIRST | NEXT } [ count ] { ROW | ROWS } ONLY ]
And it describes the FOR UPDATE clause thus:
[ FOR { UPDATE | NO KEY UPDATE | SHARE | KEY SHARE } [ OF table_name [, ...] ] [ NOWAIT | SKIP LOCKED ] [...] ]
But the YB doc for SELECT is missing these clauses altogether.