Skip to content

import errors bag-laatst.backup #217

@whohoho

Description

@whohoho

Hi,

When importing the bag dump in postgresql, i am getting some errors (and some tables are empty)

pg_restore --no-owner --no-privileges -d gis bag-laatst.backup

pg_restore: [archiver (db)] Error while PROCESSING TOC:
pg_restore: [archiver (db)] Error from TOC entry 3561; 0 967968607 TABLE DATA nummeraanduiding kademo
pg_restore: [archiver (db)] COPY failed for table "nummeraanduiding": ERROR: value too long for type character varying(20)
CONTEXT: COPY nummeraanduiding, line 2651304, column documentnummer: "15 � 18393 � 7102"
pg_restore: [archiver (db)] Error from TOC entry 3559; 0 967968585 TABLE DATA openbareruimte kademo
pg_restore: [archiver (db)] COPY failed for table "openbareruimte": ERROR: value too long for type character varying(20)
CONTEXT: COPY openbareruimte, line 53251, column documentnummer: "WD 901 Dr. Ariënsstr"
pg_restore: [archiver (db)] Error from TOC entry 3569; 0 967968689 TABLE DATA pand kademo
pg_restore: [archiver (db)] COPY failed for table "pand": ERROR: value too long for type character varying(20)
CONTEXT: COPY pand, line 4221987, column documentnummer: "BvB 22052011 Blok 9¿"
pg_restore: [archiver (db)] Error from TOC entry 3567; 0 967968661 TABLE DATA verblijfsobject kademo
pg_restore: [archiver (db)] COPY failed for table "verblijfsobject": ERROR: value too long for type character varying(20)
CONTEXT: COPY verblijfsobject, line 3317543, column documentnummer: "14 � 17478 � 4183"
WARNING: errors ignored on restore: 4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions