[postgis-users] [postgis-devel] Upgrade issues

James Sewell james.sewell at jirotech.com
Tue Feb 4 13:15:19 PST 2025


This seems to be broken again for pg_upgrade?

Upgrading from PG 13 -> 16 and getting the same error as above.

ERROR:  relation "public.spatial_ref_sys" does not exist


This was fixed here:
https://github.com/postgis/postgis/blob/master/postgis/gserialized_typmod.c#L150

Could it be the code block added above this since 2019? The issue was
PostGIS reading pg_spatial_ref_sys before it's populated in a pg_upgrade.

Cheers,
James

-- 
The contents of this email are confidential and may be subject to legal or 
professional privilege and copyright. No representation is made that this 
email is free of viruses or other defects. If you have received this 
communication in error, you may not copy or distribute any part of it or 
otherwise disclose its contents to anyone. Please advise the sender of your 
incorrect receipt of this correspondence.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20250205/16ac435c/attachment.htm>


More information about the postgis-users mailing list