Srs, Estou fazendo uma migração de uma base de dados 84 para 91 e tenho em uma de minhas tabelas campos "double precision" que recebem pontos geográficos, o problema é que ao fazer o restore ocorre o seguinte problema:
pg_restore: [archiver (db)] Error while PROCESSING TOC: pg_restore: [archiver (db)] Error from TOC entry 9457; 0 336213242 TABLE DATA cgpd postgres pg_restore: [archiver (db)] COPY failed for table "cgpd": ERROR: "-6.7166471789178305e-310" is out of range for type double precision CONTEXT: COPY cgpd, line 1, column d_latitude: "-6.7166471789178305e-310" pg_restore: [archiver (db)] Error from TOC entry 9266; 0 178321074 TABLE DATA cgps postgres pg_restore: [archiver (db)] COPY failed for table "cgps": ERROR: "9.7391168714266534e-317" is out of range for type double precision CONTEXT: COPY cgps, line 349, column d_velocidade: "9.7391168714266534e-317" pg_restore: [archiver (db)] Error from TOC entry 9458; 0 336213254 TABLE DATA recv_cgpd postgres pg_restore: [archiver (db)] COPY failed for table "recv_cgpd": ERROR: "-6.7166471789178305e-310" is out of range for type double precision CONTEXT: COPY recv_cgpd, line 1, column d_latitude: "-6.7166471789178305e-310" pg_restore: [archiver (db)] Error from TOC entry 9297; 0 178321361 TABLE DATA recv_cgps postgres pg_restore: [archiver (db)] COPY failed for table "recv_cgps": ERROR: "9.7391168714266534e-317" is out of range for type double precision CONTEXT: COPY recv_cgps, line 1600, column d_velocidade: "9.7391168714266534e-317" WARNING: errors ignored on restore: 4 Ja tentei setar "set extra_float_digits to 3" mas o problema persiste. Alguém tem algum ideia ? So: CentOS (dump) -> Redhat (restore) Agradeço. -- *Atenciosamente, Emanuel Araújo* http://eacshm.wordpress.com/ * * *Linux Certified LPIC-1*
_______________________________________________ pgbr-geral mailing list pgbr-geral@listas.postgresql.org.br https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral