Created
February 11, 2022 18:28
-
-
Save kidd/7e582e7c2915de7d7a657e61fdc2cb16 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ropsql() { | |
PSQLRC=<( | |
cat ~/.psqlrc && | |
echo 'set session characteristics as transaction read only;') \ | |
psql "$@" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment