zsh: Add psql-ro alias for read-only psql connections
This commit is contained in:
parent
321c20de0d
commit
8525d37650
3 changed files with 7 additions and 1 deletions
3
psql/.psqlrc-readonly
Normal file
3
psql/.psqlrc-readonly
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
\pset expanded auto
|
||||
|
||||
SET SESSION CHARACTERISTICS AS TRANSACTION READ ONLY;
|
||||
Loading…
Add table
Add a link
Reference in a new issue