pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #15691: ERROR: XX000: cannot update SecondarySnapshot during a parallel operation
2+ messages / 2 participants
[nested] [flat]
* BUG #15691: ERROR: XX000: cannot update SecondarySnapshot during a parallel operation
@ 2019-03-13 07:23 PG Bug reporting form <noreply@postgresql.org>
0 siblings, 1 reply; 2+ messages in thread
From: PG Bug reporting form @ 2019-03-13 07:23 UTC (permalink / raw)
To: pgsql-bugs@lists.postgresql.org; +Cc: fuzk80_76@163.com
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
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: BUG #15691: ERROR: XX000: cannot update SecondarySnapshot during a parallel operation
@ 2019-03-13 13:54 Alvaro Herrera <alvherre@2ndquadrant.com>
parent: PG Bug reporting form <noreply@postgresql.org>
0 siblings, 0 replies; 2+ messages in thread
From: Alvaro Herrera @ 2019-03-13 13:54 UTC (permalink / raw)
To: fuzk80_76@163.com; pgsql-bugs@lists.postgresql.org
On 2019-Mar-13, PG Bug reporting form wrote:
> 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
Sounds like a function is marked parallel-safe that shouldn't.
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2019-03-13 13:54 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-03-13 07:23 BUG #15691: ERROR: XX000: cannot update SecondarySnapshot during a parallel operation PG Bug reporting form <noreply@postgresql.org>
2019-03-13 13:54 ` Alvaro Herrera <alvherre@2ndquadrant.com>
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