postpass icon indicating copy to clipboard operation
postpass copied to clipboard

Ensure readonly with Postgres transaction

Open JakobMiksch opened this issue 7 months ago • 0 comments

I recently came across the Postgres MCP, which is a plugin for AI tools. I noticed that they use BEGIN TRANSACTION READ ONLY to make sure everything stays read-only. You can see how they do it here.

The official Postgres docs explain more about starting transactions here.

Using this approach could make things even more secure, just in case someone accidentally runs Postpass with a user that has write permissions.

JakobMiksch avatar Apr 28 '25 12:04 JakobMiksch