First Rust program (CLI that analyzes Postgres migrations for locks) - looking for feedback

⚓ Rust    📅 2025-04-28    👤 surdeus    👁️ 4      

surdeus

Warning

This post was published 115 days ago. The information described in this article may have changed.

I had an idea for how to infer what locks a given Postgres migration will acquire, with the idea being that you're going to run this CLI in your CI environment (against a test database) and it will report back what locks the migration acquired.

First Rust program, so I'm looking things to be improved/simplified or be made more idiomatic: GitHub - agis/pglockanalyze: See what locks your Postgres migrations might acquire

Thanks in advance.

1 post - 1 participant

Read full topic

🏷️ rust_feed