[postgis-tickets] [PostGIS] #5237: postgis_extensions_upgrade fails with ERROR: there is no unique or exclusion constraint matching the ON CONFLICT specification
PostGIS
trac at osgeo.org
Tue Sep 13 01:26:20 PDT 2022
#5237: postgis_extensions_upgrade fails with ERROR: there is no unique or
exclusion constraint matching the ON CONFLICT specification
----------------------+---------------------------
Reporter: robe | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 3.3.2
Component: postgis | Version: 3.3.x
Resolution: | Keywords:
----------------------+---------------------------
Comment (by strk):
The `ON CONFLICT` construct is new in 3.3.0, as per #5024 and servers the
purpose of adding missing records while NOT overriding existing records.
BTW, the NEWS entry is misleading as it says `- #5024, Update
spatial_ref_sys as part of ALTER EXTENSION update postgis (Paul Ramsey)`
while there is NEVER an UPDATE (due to `ON CONFLICT DO NOTHING`)
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5237#comment:6>
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