Adding guardrails to psql for PostgreSQL
Posted by Simon Larsén in Programming
I've been using psql
for many years to interface with PostgreSQL databases.
It's simple, pretty much always available as it's usually bundled with
PostgreSQL and just does what it's supposed to. It does, however, have some
pretty dangerous defaults. Not only are writes allowed, but it also
automatically commits any …