postgresql/src/backend/rewrite
Alvaro Herrera df630b0dd5 Implement SKIP LOCKED for row-level locks
This clause changes the behavior of SELECT locking clauses in the
presence of locked rows: instead of causing a process to block waiting
for the locks held by other processes (or raise an error, with NOWAIT),
SKIP LOCKED makes the new reader skip over such rows.  While this is not
appropriate behavior for general purposes, there are some cases in which
it is useful, such as queue-like tables.

Catalog version bumped because this patch changes the representation of
stored rules.

Reviewed by Craig Ringer (based on a previous attempt at an
implementation by Simon Riggs, who also provided input on the syntax
used in the current patch), David Rowley, and Álvaro Herrera.

Author: Thomas Munro
2014-10-07 17:23:34 -03:00
..
Makefile Row-Level Security Policies (RLS) 2014-09-19 11:18:35 -04:00
rewriteDefine.c Add some errdetail to checkRuleResultList(). 2014-07-02 12:31:24 -04:00
rewriteHandler.c Implement SKIP LOCKED for row-level locks 2014-10-07 17:23:34 -03:00
rewriteManip.c Implement UPDATE tab SET (col1,col2,...) = (SELECT ...), ... 2014-06-18 13:22:34 -04:00
rewriteRemove.c Update copyright for 2014 2014-01-07 16:05:30 -05:00
rewriteSupport.c pgindent run for 9.4 2014-05-06 12:12:18 -04:00
rowsecurity.c Code review for row security. 2014-09-24 16:32:22 -04:00