]> git.phdru.name Git - dotfiles.git/commitdiff
.psqlrc: Stop processing after an error
authorOleg Broytman <phd@phdru.name>
Mon, 27 Jan 2020 22:10:46 +0000 (01:10 +0300)
committerOleg Broytman <phd@phdru.name>
Mon, 27 Jan 2020 22:10:46 +0000 (01:10 +0300)
.psqlrc

diff --git a/.psqlrc b/.psqlrc
index 0b2527724fec66ce1df0b05201b50d7d19f55d34..479514de1591b917fcd27d707f6b7662947ebd5b 100644 (file)
--- a/.psqlrc
+++ b/.psqlrc
@@ -6,6 +6,7 @@
 \set HISTCONTROL ignoreboth
 \set HISTSIZE 1000
 \set ON_ERROR_ROLLBACK interactive
+\set ON_ERROR_STOP on
 \set PROMPT1 '%m %n@%/ %R%# '
 \set PROMPT2 '... %R '
 \set PROMPT3 '>> '