The following bug has been logged on the website:
Bug reference: 7636
Logged by: Marko Tiikkaja
Email address: pgmail@joh.to
PostgreSQL version: 9.1.6
Operating system: OSX something
Description: =
Hi,
It looks like \ef doesn't honor ON_ERROR_ROLLBACK:
=3D# \set ON_ERROR_ROLLBACK true
=3D# BEGIN;
BEGIN
=3D# \ef error
ERROR: function "error" does not exist
=3D# select 1;
ERROR: current transaction is aborted, commands ignored until end of
transaction block