Waiting for PostgreSQL 20 – Add backend-level lock statisticsPublished bydepesz.comon •1 min readOn 30th of June 2026, Michael Paquier committed patch: Add backend-level lock statistics This commit adds per-backend lock statistics, providing the same information as pg_stat_lock.Uncategorizedpg20pg_stat_get_backend_lockpg_stat_lockpostgresqlwaitingLearn moreShareLegalReport