summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2014-09-29 12:19:43 -0400
committerJune McEnroe <programble@gmail.com>2014-09-29 12:19:43 -0400
commit2f141d34abc8c322487ff72a2e84b08c5c6a75bd (patch)
tree60647a189aa9eb76e80f77e34278ed7674e0b4ac
parentNever mind that (diff)
downloadsrc-2f141d34abc8c322487ff72a2e84b08c5c6a75bd.tar.gz
src-2f141d34abc8c322487ff72a2e84b08c5c6a75bd.zip
On error rollback in interactive psql
Diffstat (limited to '')
-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