[postgis-tickets] [PostGIS] #5139: PostGIS causes to_jsonb to no longer be parallel safe
PostGIS
trac at osgeo.org
Thu Jul 21 21:54:09 PDT 2022
#5139: PostGIS causes to_jsonb to no longer be parallel safe
-----------------------------+---------------------------
Reporter: samuelspurling | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 3.2.2
Component: postgis | Version: 3.2.x
Resolution: | Keywords:
-----------------------------+---------------------------
Comment (by robe):
AS expected this is also an issue with ST_AsGeoJSON
{{{
WITH object_list AS (
SELECT id,'a_large_table' AS table_name,
ST_AsGeoJSON(a_large_table.geom) AS json_data
FROM a_large_table
WHERE id::text LIKE '10000'
)
SELECT * INTO TEMPORARY TABLE object_list_temp
FROM object_list;
}}}
triggers the same:
{{{
ERROR: cannot start commands during a parallel operation
CONTEXT: SQL statement "SELECT auth_name||':'||auth_srid FROM
public.spatial_ref_sys WHERE srid='27700'"
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5139#comment:4>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list