didier> Attached a POC adding a new variable ECHO_ERROR didier> \set ECHO_ERROR text|none|psqlstate
I wouldn't have called it that. Possibly another option to the existing VERBOSITY variable? \set VERBOSITY sqlstate_only or something of that ilk (it's already not unusual to use \set VERBOSITY terse in regression tests)