<div dir="ltr">Hi, Raul Marin Rodriguez,<div><br></div><div><span style="color:rgb(32,31,30);font-size:15px">We are using PostgreSQL </span><span class="gmail-mark7knxfpym2" style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;font-variant-east-asian:inherit;font-stretch:inherit;font-size:15px;line-height:inherit;vertical-align:baseline;color:rgb(32,31,30)">version</span><span style="color:rgb(32,31,30);font-size:15px"> 10.10 and </span><span class="gmail-mark51kl7sx5h" style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;font-variant-east-asian:inherit;font-stretch:inherit;font-size:15px;line-height:inherit;vertical-align:baseline;color:rgb(32,31,30)">postgis</span><span style="color:rgb(32,31,30);font-size:15px"> </span><span class="gmail-mark7knxfpym2" style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;font-variant-east-asian:inherit;font-stretch:inherit;font-size:15px;line-height:inherit;vertical-align:baseline;color:rgb(32,31,30)">version</span><span style="color:rgb(32,31,30);font-size:15px"> 2.4.8</span> .</div><div><br></div><div>The command used for dump the data is pg_dump.exe.</div><div><br></div><div>The command used for import data is psql.exe.</div><div><br></div><div>The error message is full of invalid commands.</div><div><br></div><div>Regards,</div><div><br></div><div>Shao <br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 23 Jan 2020 at 17:28, <<a href="mailto:rmrodriguez@carto.com">rmrodriguez@carto.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Thu, Jan 23, 2020 at 6:23 PM Shaozhong SHI <<a href="mailto:shishaozhong@gmail.com" target="_blank">shishaozhong@gmail.com</a>> wrote:<br>
><br>
> 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.<br>
><br>
> Why does that happen?<br>
<br>
Hi,<br>
<br>
You are not providing any information to debug the issue. The<br>
following information would help:<br>
- Postgresql and Postgis version of both the source and target database.<br>
- The command used to dump the data.<br>
- The command used to import the data.<br>
- The error messages.<br>
<br>
<br>
-- <br>
Raúl Marín Rodríguez<br>
<a href="http://carto.com" rel="noreferrer" target="_blank">carto.com</a><br>
_______________________________________________<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="https://lists.osgeo.org/mailman/listinfo/postgis-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/postgis-users</a></blockquote></div>