0
I am trying to restore a dump from a postgresql database with postgis template.
When I try to restore the dump by terminal, I have a number of errors.
Command used terminal:
psql archeology -U cc1295225 -h 127.0.0.1 -p 45432 < saidas_owner.sql > error.log 2>&1
Errors can be seen from the following file error log.
And when I try to restore using pgadmin in Create script I get the following error message:
COPY estado (gid, id, cd_geocodu, nm_estado, nm_regiao, the_geom) FROM stdin;
ERROR: syntax error at or near "1"
LINE 13926: 1 6 35 SÃO PAULO SUDESTE 0106000060421200003B000000010300004...
^
********** Error **********
ERROR: syntax error at or near "1"
SQL state: 42601
Character: 424037
Doubt
So how do I proceed to be able to perform the database Restore with postgis template? Or fix this dump error problem.
Already tried as a superuser?
– user4552