<div dir="ltr">Hi all,<div><br></div><div>I'm upgrading from 9.6 -> 11. Both versions have PostGIS 2.5.1.</div><div><br></div><div>The upgrade starts then I see this in the logs:</div><div><br></div><div><font face="monospace">pg_restore: [archiver (db)] could not execute query: ERROR:  relation "public.spatial_ref_sys" does not exist<br>LINE 39:     "location_pt" "public"."geography"(Point,4283),</font></div><div><font face="monospace"><br></font></div><div><font face="arial, sans-serif">Above this I can see:</font></div><div><font face="arial, sans-serif"><br></font></div><div><font face="monospace">pg_restore: creating EXTENSION "postgis"</font></div><div><font face="monospace"><br></font></div><div>This is created fine - it just doesn't make the PostGIS tables in any schema?</div><div><br></div><div>Has anyone seen anything like this before?</div><div><br></div><div>Cheers,</div><div><br>James Sewell,</div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-size:small"><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>

<br>
<hr style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:14.5455px;line-height:normal"><font size="1" color="Gray" face="Arial" style="line-height:normal">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.</font>