Boa tarde presados!
Segui todos os passos na instalação do ieducar no ubuntu server 16, o erro
ocorre quando tendo restaurar o banco de dados, segue o erro:
pg_restore -d ieducar ieducar_atualizado_20170422.backup
pg_restore: [archiver (db)] Error while PROCESSING TOC:
pg_restore: [archiver (db)] Error from TOC entry 7135; 0 33412 TABLE DATA
tipo_logradouro postgres
pg_restore: [archiver (db)] COPY failed for table "tipo_logradouro": ERROR:
value too long for type character varying(5)
CONTEXT: COPY tipo_logradouro, line 22, column idtlog: "PÇAES"
pg_restore: [archiver (db)] Error from TOC entry 6043; 2606 43481 FK
CONSTRAINT instituicao_ref_idtlog_fkey postgres
pg_restore: [archiver (db)] could not execute query: ERROR: insert or
update on table "instituicao" violates foreign key constraint
"instituicao_ref_idtlog_fkey"
DETAIL: Key (ref_idtlog)=(RUA) is not present in table "tipo_logradouro".
Command was: ALTER TABLE ONLY instituicao
ADD CONSTRAINT instituicao_ref_idtlog_fkey FOREIGN KEY (ref_idtlog)
REFERENCES urbano.tipo_...
WARNING: errors ignored on restore: 2