Re: ERROR: cannot start subtransactions during a parallel operation - Mailing list pgsql-hackers

From Andres Freund
Subject Re: ERROR: cannot start subtransactions during a parallel operation
Date
Msg-id 20180629184741.wn2pq2ljyde5iolq@alap3.anarazel.de
Whole thread Raw
In response to Re: ERROR: cannot start subtransactions during a parallel operation  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
Responses Re: ERROR: cannot start subtransactions during a parallel operation
List pgsql-hackers
Hi,

On 2018-06-29 20:37:23 +0200, Tomas Vondra wrote:
> My guess is that it's a PL/pgSQL function with an EXCEPTION block, and
> there's no easy way to "fix" that.

Obviously not going to immediately help the OP, but I do think we should
be able to relax the subtransaction restriction around parallelism
without too much work.  Can't allow xids to be assigned, but that's
probably ok for a lot of exception handling cases.

Greetings,

Andres Freund


pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: ERROR: cannot start subtransactions during a parallel operation
Next
From: "Regina Obe"
Date:
Subject: RE: Regression on PostgreSQL 10 ORDER/GROUP BY expression not found in targetlist