problem with restore: collision id`s lob - Mailing list pgsql-general

From Hellmuth Vargas
Subject problem with restore: collision id`s lob
Date
Msg-id CAN3Qy4p-1rW8-qn=NpdXRtWDdO+mnDTurY0eAwWu90CrLtRJ3g@mail.gmail.com
Whole thread Raw
List pgsql-general
is that I have a number of postgres cluster we want to consolidate into a single cluster. Every cluster has a database with different schemas names each therefore inprinciple could create a single database where they could live all schemas and should have no problem, we generate a dump and SQL file, we begin to restore files and at first annoyed with the first and second but the third and fourth at the time you are restoring lob the following error:


pg_restore: *** aborted because of error

pg_restore: [archiver] could not create large object 21709: ERROR:  duplicate key value violates unique constraint "pg_largeobject_metadata_oid_index"

DETAIL:  Key (oid)=(21709) already exists.

pg_restore: *** aborted because of error


Thanks

pgsql-general by date:

Previous
From: Red Light
Date:
Subject: Re: recursive inner trigger call
Next
From: "David Johnston"
Date:
Subject: Re: recursive inner trigger call