Wish: `pg connect` flag, say, `-b` which would start transaction `begin;`

Title says it all.
It would be nice to run:

fly pg connect -d my_db -b

and -b would open into a psql shell connected to my_db with initial command

begin;

so I am safely in a transaction.

I do not know if this is even possible.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.