gerei um dump do postgresql 8.4 e estou tentando importar no 9.0. (Linux em ambos) Durante a carga ocorre o erro abaixo:
"pg_restore: [archiver (db)] Error while PROCESSING TOC:
pg_restore: [archiver (db)] Error from TOC entry 5065; 0 17480 TABLE DATA logmov usrteste
pg_restore: [archiver (db)] COPY failed: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
pg_restore: [archiver (db)] could not commit database transaction: no connection to the server
Command was: COMMIT"
Cheque se está usando statement_timeout em postgresql.conf ou para o usuário que está restaurando o dump.
psql -U usuario banco
SHOW statement_timeout;
Se for o caso:
ALTER USER usuario SET statement_timeout=0;
Flavio Henrique A. Gurgel
tel. 55-11-2125.4786
cel. 55-11-6429.0496
www.4linux.com.br
FREE SOFTWARE SOLUTIONS
_______________________________________________
pgbr-geral mailing list
[email protected]
https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral