ended3월 14일· 1 sources

I built a tool that runs your Postgres migrations before they hit production

Postgres 마이그레이션을 프로덕션 배포 전에 검증하는 도구를 만들었습니다

Why it matters

pgfence is a CLI tool that statically analyzes Postgres migration files to predict lock modes and suggest safe rewrites. Its new trace mode spins up an ephemeral Docker container, executes each statement against real Postgres, and compares actual lock behavior to static predictions—catching table rewrites and implicit locks that static analysis misses. Notably, it uses a polling observer connection to verify CONCURRENTLY statements, which other tools skip.

1
Sources
+0
24h
Growth
187d
Active
action controlai safeguardsautomated workflowsconcurrentlylock modesmigrationspgfencepolicy enforcementpostgrespre-execution evaluationtrace mode

Sources

Related Issues