From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: fuzk80_76@163.com
Subject: BUG #15691: ERROR: XX000: cannot update SecondarySnapshot during a parallel operation
Date: Wed, 13 Mar 2019 07:23:03 +0000
Message-ID: <15691-62c4e860b7120958@postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 15691
Logged by: zhongkuan fu
Email address: fuzk80_76@163.com
PostgreSQL version: 10.3
Operating system: Centos linux 7.4.1708
Description:
I cannot execute the following select sentence and got an error.
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
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: noreply@postgresql.org, fuzk80_76@163.com
Subject: Re: BUG #15691: ERROR: XX000: cannot update SecondarySnapshot during a parallel operation
In-Reply-To: <15691-62c4e860b7120958@postgresql.org>
References: <15691-62c4e860b7120958@postgresql.org>
* 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