PostgreSQL Lock Conflicts
Database engineering course
|
@hnasr
|
☕
FORUPDATE
The FORUPDATE lock is a Row lock. This list shows the commands that acquire FORUPDATE and what locks conflicts with it.
The following commands acquire FORUPDATE Row lock
SELECT FOR UPDATE
UPDATE (KEYS)
DELETE
COPY FROM
MERGE
The following are row locks conflicting with FORUPDATE
FORKEYSHARE
FORSHARE
FORNOKEYUPDATE
FORUPDATE