pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: fuzk <fuzk80_76@163.com>
Cc: pgsql-general@postgresql.org
Subject: Re: ERROR: XX000: cannot update SecondarySnapshot during a parallel operation
Date: Thu, 14 Mar 2019 21:07:06 -0700
Message-ID: <c6c07fec-bbc9-f382-d4f5-451fec103c12@aklaver.com> (raw)
In-Reply-To: <29d97280.3551.1697f1ee80e.Coremail.fuzk80_76@163.com>
References: <58a76837.43af.16974f968f0.Coremail.fuzk80_76@163.com>
	<e6e81462-2330-238d-6a31-9746718173b9@aklaver.com>
	<2fb2c6ad.74b1.1697ac42b3f.Coremail.fuzk80_76@163.com>
	<d70da878-74ca-4b8e-e3b5-812686c52738@aklaver.com>
	<29d97280.3551.1697f1ee80e.Coremail.fuzk80_76@163.com>

On 3/14/19 7:12 PM, fuzk wrote:
> When I set max_parallel_workers_per_gather=0, the select statement can 
> execute successfully. The problem has been solved. Thank you all very 
> much. Alan
> 


Well the problem has been hidden, not solved. It did establish that 
invoking parallel query has something to do with it. There also the fact 
that by max_parallel_workers_per_gather is set to 0 by default. So the 
setting you had previously(32) would imply that someone wanted to use 
parallel query.  If it is re-enabled then you are back to the error.  To 
help solve the problem for yourself and others could you supply relevant 
information to the this problem report:

https://trac.osgeo.org/postgis/ticket/4129



-- 
Adrian Klaver
adrian.klaver@aklaver.com




view thread (14+ messages)  latest in thread

Message-ID: <c6c07fec-bbc9-f382-d4f5-451fec103c12@aklaver.com>
Permalink:  ../c6c07fec-bbc9-f382-d4f5-451fec103c12@aklaver.com/
Also on:    postgresql.org/message-id/c6c07fec-bbc9-f382-d4f5-451fec103c12@aklaver.com

 · 

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-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, fuzk80_76@163.com
  Subject: Re: ERROR: XX000: cannot update SecondarySnapshot during a parallel operation
  In-Reply-To: <c6c07fec-bbc9-f382-d4f5-451fec103c12@aklaver.com>
  References: <58a76837.43af.16974f968f0.Coremail.fuzk80_76@163.com> <e6e81462-2330-238d-6a31-9746718173b9@aklaver.com> <2fb2c6ad.74b1.1697ac42b3f.Coremail.fuzk80_76@163.com> <d70da878-74ca-4b8e-e3b5-812686c52738@aklaver.com> <29d97280.3551.1697f1ee80e.Coremail.fuzk80_76@163.com> <c6c07fec-bbc9-f382-d4f5-451fec103c12@aklaver.com>

* 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