From 4289bdab607ce7f4f189b1c07fa0d415c2e21da1 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Tue, 28 Jan 2020 01:10:46 +0300 Subject: [PATCH] .psqlrc: Stop processing after an error --- .psqlrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.psqlrc b/.psqlrc index 0b25277..479514d 100644 --- 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 '>> ' -- 2.39.5