Thanks to visit codestin.com
Credit goes to github.com

Skip to content

sql: support FOR {UPDATE,SHARE} {SKIP LOCKED,NOWAIT} #40476

@rafiss

Description

@rafiss

#6583 and #40206 added support for SELECT FOR UPDATE. There is additional syntax to support: SKIP LOCKED and NOWAIT. See an example of the syntax here: https://www.postgresql.org/docs/current/sql-select.html


Update, Feb 2021: CockroachDB v20.2 supports the NO WAIT syntax. SKIP LOCKED is still not supported at the time of this writing.

Epic CRDB-11976

Jira issue: CRDB-5535

Metadata

Metadata

Assignees

Labels

A-sql-pgcompatSemantic compatibility with PostgreSQLA-tools-hasuraC-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-kvKV TeamX-anchored-telemetryThe issue number is anchored by telemetry references.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions