I used pg_dump to dump a table with from.  Then, I used psql to load it to another database, but it showed numerous errors.<div><br></div><div>Why does that happen?<br><br>On Thursday, 23 January 2020,  <<a href="mailto:rmrodriguez@carto.com">rmrodriguez@carto.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, Jan 23, 2020 at 5:43 PM Shaozhong SHI <<a href="mailto:shishaozhong@gmail.com">shishaozhong@gmail.com</a>> wrote:<br>
><br>
> Numerous errors were found when loading tables with psql.exe.  These tables were produced with pg_dump.exe.<br>
<br>
What are those errors and what commands did you run to dump and to<br>
restore the data?<br>
Also, does the target database has the same Postgis extensions<br>
installed? Which versions?<br>
<br>
-- <br>
Raúl Marín Rodríguez<br>
<a href="http://carto.com" target="_blank">carto.com</a><br>
______________________________<wbr>_________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org">postgis-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/postgis-users" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/postgis-users</a></blockquote></div>