Hallo zusammen,
beim Versuch, eine (oder alle) DB (s) zu dumpen, erhalte ich folgenden Fehler:
postgres@kbb-meditec-bak:/meditec/medikh> pg_dump --format=plain -v --username=medikh --file=/meditec/install/pg_dump.sql mediprodpg_dump: lese Schemas
pg_dump: lese benutzerdefinierte Funktionen
pg_dump: lese benutzerdefinierte Typen
pg_dump: Schema mit OID 2200 existiert nicht
pg_dump: *** abgebrochen wegen Fehler
postgres@kbb-meditec-bak:/meditec/medikh
Wie kann ich herausfinden, was sich hinter oder OID verbirgt - und diese Inkonsistenz korrigieren?
Ich habe das ganze noch einmal mit einem höheren Debug-Level gemacht, dabei kam folgendes raus:
postgres@kbb-meditec-bak:~/data/pg_log> pg_dump --format=plain -v --username=medikh --file=/meditec/install/pg_dump.sql mediprodDEBUG: InitPostgres
DEBUG: StartTransaction
DEBUG: name: unnamed; blockState: DEFAULT; state: INPROGR, xid/subid/cid: 0/1/0, nestlvl: 1, children:
DEBUG: CommitTransaction
DEBUG: name: unnamed; blockState: STARTED; state: INPROGR, xid/subid/cid: 0/1/0, nestlvl: 1, children:
pg_dump: DEBUG: StartTransactionCommand
pg_dump: DEBUG: StartTransaction
pg_dump: DEBUG: name: unnamed; blockState: DEFAULT; state: INPROGR, xid/subid/cid: 0/1/0, nestlvl: 1, children:
pg_dump: DEBUG: ProcessUtility
pg_dump: DEBUG: CommitTransactionCommand
pg_dump: DEBUG: CommitTransaction
pg_dump: DEBUG: name: unnamed; blockState: STARTED; state: INPROGR, xid/subid/cid: 0/1/0, nestlvl: 1, children:
pg_dump: DEBUG: StartTransactionCommand
pg_dump: DEBUG: StartTransaction
pg_dump: DEBUG: name: unnamed; blockState: DEFAULT; state: INPROGR, xid/subid/cid: 0/1/0, nestlvl: 1, children:
pg_dump: DEBUG: ProcessUtility
pg_dump: DEBUG: CommitTransactionCommand
pg_dump: DEBUG: CommitTransaction
pg_dump: DEBUG: name: unnamed; blockState: STARTED; state: INPROGR, xid/subid/cid: 0/1/0, nestlvl: 1, children:
pg_dump: DEBUG: StartTransactionCommand
pg_dump: DEBUG: StartTransaction
pg_dump: DEBUG: name: unnamed; blockState: DEFAULT; state: INPROGR, xid/subid/cid: 0/1/0, nestlvl: 1, children:
pg_dump: DEBUG: ProcessUtility
pg_dump: DEBUG: CommitTransactionCommand
pg_dump: DEBUG: CommitTransaction
pg_dump: DEBUG: name: unnamed; blockState: STARTED; state: INPROGR, xid/subid/cid: 0/1/0, nestlvl: 1, children:
pg_dump: DEBUG: StartTransactionCommand
pg_dump: DEBUG: StartTransaction
pg_dump: DEBUG: name: unnamed; blockState: DEFAULT; state: INPROGR, xid/subid/cid: 0/1/0, nestlvl: 1, children:
pg_dump: DEBUG: ProcessUtility
pg_dump: DEBUG: CommitTransactionCommand
pg_dump: DEBUG: StartTransactionCommand
pg_dump: DEBUG: ProcessUtility
pg_dump: DEBUG: CommitTransactionCommand
pg_dump: lese Schemas
pg_dump: DEBUG: StartTransactionCommand
pg_dump: DEBUG: ProcessUtility
pg_dump: DEBUG: CommitTransactionCommand
pg_dump: DEBUG: StartTransactionCommand
pg_dump: DEBUG: CommitTransactionCommand
pg_dump: lese benutzerdefinierte Funktionen
pg_dump: DEBUG: StartTransactionCommand
pg_dump: DEBUG: CommitTransactionCommand
pg_dump: lese benutzerdefinierte Typen
pg_dump: DEBUG: StartTransactionCommand
pg_dump: DEBUG: CommitTransactionCommand
pg_dump: Schema mit OID 2200 existiert nicht
pg_dump: *** abgebrochen wegen Fehler
Vielen Dank im Voraus!