yugabyte/yugabyte-db

[docs] The YB doc account of SELECT misses the FETCH and FOR UPDATE clauses

Open

#6147 aperta il 25 ott 2020

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)C (1003 fork)batch import
area/ysqlhelp wantedkind/enhancementpriority/medium

Metriche repository

Star
 (8229 star)
Metriche merge PR
 (Merge medio 17g 21h) (92 PR mergiate in 30 g)

Descrizione

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.

Guida contributor