Skip to content

Glossary: PostgreSQL for Developers

row lock

Also written: lock, locks

A lock that lets only one transaction change a row at a time, so others wait until it commits or rolls back. Keep transactions short because locks last until they end.

Where the book teaches it

Related terms

FOR UPDATEtransaction