The Backend Engineering Show with Hussein Nasser cover image

All Postgres Locks Explained | A Deep Dive

The Backend Engineering Show with Hussein Nasser

00:00

PostgreSQL Advisory Lock

Advisory lock protects the whole operation, not just the transaction level. Tranquet cannot safely be executed concurrently with other operations. Most Postgres commands automatically acquire locks of appropriate modes to ensure that reference tables are not dropped or modified in incompatible ways while the automatic secutes.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app