pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Grigory Smolkin <g.smolkin@postgrespro.ru>
To: pgsql-bugs@postgresql.org
Subject: parallel plan in insert query
Date: Tue, 11 Oct 2016 13:01:15 +0300
Message-ID: <2950428a-2b07-03cb-4ec0-7454853fe244@postgrespro.ru> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Hello, everyone!

I have a query with following plan:
https://gist.github.com/gsmol/a0e752a3f003330a85e2bf243516a2d6

It fails with:
ERROR: cannot start commands during a parallel operation

I was under impression that for a write query no parallel plan will 
every be generated.
Am I missed something?


-- 
Grigory Smolkin
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company

view thread (6+ messages)  latest in thread

Message-ID: <2950428a-2b07-03cb-4ec0-7454853fe244@postgrespro.ru>
Permalink:  ../2950428a-2b07-03cb-4ec0-7454853fe244@postgrespro.ru/
Also on:    postgresql.org/message-id/2950428a-2b07-03cb-4ec0-7454853fe244@postgrespro.ru

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: g.smolkin@postgrespro.ru
  Subject: Re: parallel plan in insert query
  In-Reply-To: <2950428a-2b07-03cb-4ec0-7454853fe244@postgrespro.ru>
  References: <2950428a-2b07-03cb-4ec0-7454853fe244@postgrespro.ru>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox