pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: fuzk <fuzk80_76@163.com>
To: pgsql-general@postgresql.org
Subject: ERROR:  XX000: cannot update SecondarySnapshot during a parallel operation
Date: Wed, 13 Mar 2019 10:54:56 +0800 (CST)
Message-ID: <58a76837.43af.16974f968f0.Coremail.fuzk80_76@163.com> (raw)

Dear Sir/Madam


I got an error when I execute the following select sentence.
Would you please solve the problem for me?
Thank you .


Alan Fu.


postgres=# \set VERBOSITY verbose
postgres=# SELECT round(cast(coalesce(sum(ST_length(geography(geometry)))/1000,0) as NUMERIC),4)||'KM' field_value from had_link;


ERROR:  XX000: cannot update SecondarySnapshot during a parallel operation
CONTEXT:  SQL statement "SELECT proj4text FROM public.spatial_ref_sys WHERE srid = 4326 LIMIT 1"
parallel worker
LOCATION:  GetLatestSnapshot, snapmgr.c:387

view thread (14+ messages)  latest in thread

Message-ID: <58a76837.43af.16974f968f0.Coremail.fuzk80_76@163.com>
Permalink:  ../58a76837.43af.16974f968f0.Coremail.fuzk80_76@163.com/
Also on:    postgresql.org/message-id/58a76837.43af.16974f968f0.Coremail.fuzk80_76@163.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: fuzk80_76@163.com
  Subject: Re: ERROR:  XX000: cannot update SecondarySnapshot during a parallel operation
  In-Reply-To: <58a76837.43af.16974f968f0.Coremail.fuzk80_76@163.com>
  References: <58a76837.43af.16974f968f0.Coremail.fuzk80_76@163.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