Reference

Postgres lock mode reference

68 DDL patterns, one page per statement. Each one has the exact PostgreSQL lock mode it takes, what it blocks, pgfence's risk level, and a safe rewrite when one exists. For the narrative version of this table, see the lock mode cheat sheet and the DDL lock cheat sheet.

Columns

Renaming

Indexes

Constraints

Domains

Destructive Operations

Partitions

Materialized Views

Triggers

Enums

Row-Level Security

Maintenance

Replication

Inheritance