[postgis-users] Upgrade from Postgis 1.5.1-5 to 2.3.1

Michel Philippenko michel.ing93 at gmail.com
Thu Nov 8 05:55:16 PST 2018


Hello,
I'm new with Postgis.
I'm upgrading a database from Postgis 1.5.1-5 to 2.3.1 following the
instructions given on this web page :
https://postgis.net/docs/postgis_installation.html#hard_upgrade.
The errors below are displayed when importing my dump. Will my DB work well
? Should I fight more to have no errors at all ?
Thank you for your help and your attention.
With best regards,
Mikhael.

ERREUR:  la famille d'opérateur « btree_geography_ops » existe déjà pour la
méthode d'accès « btree »
ERREUR:  la famille d'opérateur « btree_geometry_ops » existe déjà pour la
méthode d'accès « btree »
ERREUR:  la famille d'opérateur « gist_geography_ops » existe déjà pour la
méthode d'accès « gist »
ERREUR:  la contrainte de vérification « spatial_ref_sys_srid_check » est
rompue par une ligne
ERREUR:  n'a pas pu créer l'index unique « spatial_ref_sys_pkey »
DÉTAIL : La clé (srid)=(999954) est dupliquée.

My translation in English :
ERROR:  the operator family « btree_geography_ops » already exists for the
access method « btree »
ERROR:  the operator family « btree_geometry_ops »already exists for the
access method « btree »
ERROR:  the operator family « gist_geography_ops » already exists for the
access method « gist »
ERROR:  the constraint check « spatial_ref_sys_srid_check » is broken  for
one line
ERROR:  could not create the uniq index « spatial_ref_sys_pkey »
DETAIL : The key (srid)=(999954) is duplicated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20181108/7797bc7e/attachment.html>


More information about the postgis-users mailing list