On Mon, Nov 6, 2017 at 1:53 PM, Alvaro Herrera <alvherre@xxxxxxxxxxxxxx> wrote: > Something is using subtransactions there. My first guess would be that > there are triggers with EXCEPTION blocks, but your example doesn't show > any. Or maybe you have event triggers. Thanks, but I don't see any event trigger: > \dy List of event triggers Name | Event | Owner | Enabled | Procedure | Tags ------+-------+-------+---------+-----------+------ (0 rows) Please note that I tested it on a freshly created database obtaining the same behavior. I did have in the past event trigger, but I have dropped long time before this behavior. Any other idea? Luca -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general