yugabyte/yugabyte-db

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

Open

#6.147 aberto em 25 de out. de 2020

Ver no GitHub
 (0 comments) (0 reactions) (0 assignees)C (1.003 forks)batch import
area/ysqlhelp wantedkind/enhancementpriority/medium

Métricas do repositório

Stars
 (8.229 stars)
Métricas de merge de PR
 (Mesclagem média 17d 21h) (92 fundiu PRs em 30d)

Description

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.

Guia do colaborador