<div dir="ltr">Was a solution to this problem ever discovered? I'm running into exactly the same problem (backup from PostGIS 2.1 with raster tables can't be restored to PostGIS 2.3).<div><br></div><div><div>HINT:  No operator matches the given name and argument type(s). You might need to add explicit type casts.</div><div>QUERY:  SELECT $1 @ $2 AND public._ST_CoveredBy($1,$2)</div><div>CONTEXT:  SQL function "st_coveredby" during inlining</div><div>COPY coei_166_3857, line 1: "1  010000010091C9D81F26AAE94091C9D81F26AAE9C082B6A532F81B73C103DAD0FE58846041000000000000000000000000..."</div><div>pg_restore: [archiver (db)] Error from TOC entry 187538; 0 223203 TABLE DATA coei_196_3857 asdf</div><div>pg_restore: [archiver (db)] COPY failed for table "coei_196_3857": ERROR:  operator does not exist: public.geometry @ public.geometry</div><div>LINE 1: SELECT $1 @ $2 AND public._ST_CoveredBy($1,$2)</div></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Nov 25, 2016 at 6:48 AM Cedric Duprez <<a href="mailto:Cedric.Duprez@ign.fr">Cedric.Duprez@ign.fr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div bgcolor="#FFFFFF" text="#000000">
Sorry, I thought I had installed PostGIS 2.1 on my backup server, but it is 2.3 that has been finally installed.<br>
<br>
I don't understand how that could be.<br>
<br>
The server is on Debian Jessie, and I did the following packages installation:<br>
<br>
 apt-get update && apt-get install -y postgresql-9.3 postgresql-client-9.3 postgresql-contrib-9.3 postgresql-server-dev-9.3 && \<br>
    apt-get install -y gdal-bin libgdal-dev && \<br>
    apt-get install -y postgresql-9.3-postgis-2.1<br>
<br>
Why do I get the 2.3 version of PostGIS installed? How can I downgrade to 2.1?<br>
<br>
Thanks for you help.<br>
Regards,<br>
<br>
Cedric</div><div bgcolor="#FFFFFF" text="#000000"><br>
<br>
<blockquote type="cite"><font face="Helvetica, Arial, sans-serif">Hi,<br>
<br>
Still same issue with two servers having the same configuration.<br>
<br>
Regards,<br>
<br>
Cedric<br>
</font>
<div class="m_7220001163652213124moz-signature"><br>
<br>
</div>
<br>
</blockquote>
<br>
</div>

_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org" target="_blank">postgis-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/postgis-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/postgis-users</a></blockquote></div>