[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 06:29:05 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 doctorwho80):

 Replying to [comment:4 strk]:
 > Which PostgreSQL version is the reporting user using ?

 PostgreSQL 12.12 (Debian 12.12-1.pgdg110+1) on x86_64.
 PostGIS 3.3.1

 Database server has been updated only with binaries without SQL step :

 {{{
 SELECT postgis_extensions_upgrade();
 }}}

 Some database upgraded successfully some other not due to primary key
 missing.
 No explication why some are fine and other are not -_-
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5237#comment:7>
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