summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2014-09-29 12:19:43 -0400
committerJune McEnroe <june@causal.agency>2014-09-29 12:19:43 -0400
commit38b527a3bccdf93bbf1c34816406f2309d5bf46d (patch)
tree5e38876a5291c4a96394d2e4bd9c3c54eba27df4
parentNever mind that (diff)
downloadsrc-38b527a3bccdf93bbf1c34816406f2309d5bf46d.tar.gz
src-38b527a3bccdf93bbf1c34816406f2309d5bf46d.zip
On error rollback in interactive psql
-rw-r--r--.psqlrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/.psqlrc b/.psqlrc
index 9daf719f..816e1c48 100644
--- a/.psqlrc
+++ b/.psqlrc
@@ -1,4 +1,5 @@
 \set QUIET
+\set ON_ERROR_ROLLBACK interactive
 \timing on
 \pset linestyle unicode
 \pset border 1