{"by":"admtal","descendants":14,"id":35981238,"kids":[35982701,35982670,35983084,35983392,35982215],"score":143,"text":"This is like 4 years old, but I’m braver now and ready to share stuff with this community.  I’ve been a lurker for a while.<p>I made this tool - it’s kind of like “explain” but it tells you about what locks would be required by the query.<p>I was making it as part of a larger tool that would try to prevent deadlocks during migrations at my last company, I never finished it.","time":1684357334,"title":"Show HN: Postgres query lock explainer","type":"story","url":"https://github.com/AdmTal/PostgreSQL-Query-Lock-Explainer"}