Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: Backup/Restore mit BLOBs



Hallo Stefan,

anbei endlich die komplette Ausgabe vom pg_restore mit einigen Fehlern (u.a. bei den COMMENTS der BLOBs). Was mir vor allem Sorgen macht sind die Fehlermeldungen bezüglich Inhaltsverzeichniseintrag u.s.w. Ein "Extraktionstest" hat jedoch ein BLOB problemlos erstellen können, d.h. die BLOBs scheinen jetzt wirklich rekonstruiert worden zu sein.

********************************************************************************
pg_restore.exe -i -h localhost -p 5432 -U postgres -d archive
--disable-triggers -v "c:\_myplace\a4a.backup"
pg_restore: verbinde mit der Datenbank zur Wiederherstellung
pg_restore: [Archivierer (DB)] Fehler in Phase INITIALIZING:
pg_restore: [Archivierer (DB)] could not execute query: ERROR:  invalid byte
sequence for encoding "UTF8": 0xe46973
   Command was: --
-- PostgreSQL database dump
--

-- Started on 2006-07-03 01:00:00 Westeuropäische Normalzeit

SET client_encoding = 'UTF8';
pg_restore: erstelle SCHEMA public
pg_restore: erstelle COMMENT SCHEMA public
pg_restore: erstelle PROCEDURAL LANGUAGE plpgsql
pg_restore: [Archivierer (DB)] Fehler in Phase PROCESSING TOC:
pg_restore: [Archivierer (DB)] Fehler in Inhaltsverzeichniseintrag 253; 2612
16386 PROCEDURAL LANGUAGE plpgsql pg_restore: [Archivierer (DB)] could not execute query: ERROR: language
"plpgsql" already exists
   Command was: CREATE PROCEDURAL LANGUAGE plpgsql;
pg_restore: erstelle DOMAIN lo
pg_restore: [Archivierer (DB)] Fehler in Inhaltsverzeichniseintrag 207; 1247
16403 DOMAIN lo postgres
pg_restore: [Archivierer (DB)] could not execute query: ERROR:  type "lo"
already exists
   Command was: CREATE DOMAIN lo AS oid;
pg_restore: erstelle FUNCTION autoinc()
pg_restore: [Archivierer (DB)] Fehler in Inhaltsverzeichniseintrag 15; 1255
16406 FUNCTION autoinc() postgres
pg_restore: [Archivierer (DB)] could not execute query: ERROR:  function
"autoinc" already exists with same argument types
   Command was: CREATE FUNCTION autoinc() RETURNS "trigger"
   AS '$libdir/autoinc', 'autoinc'
   LANGUAGE c;
pg_restore: erstelle FUNCTION lo_manage()
pg_restore: [Archivierer (DB)] Fehler in Inhaltsverzeichniseintrag 14; 1255
16405 FUNCTION lo_manage() postgres
pg_restore: [Archivierer (DB)] could not execute query: ERROR:  function
"lo_manage" already exists with same argument types
   Command was: CREATE FUNCTION lo_manage() RETURNS "trigger"
   AS '$libdir/lo', 'lo_manage'
   LANGUAGE c;
pg_restore: erstelle FUNCTION lo_oid(lo)
pg_restore: [Archivierer (DB)] Fehler in Inhaltsverzeichniseintrag 13; 1255
16404 FUNCTION lo_oid(lo) postgres
pg_restore: [Archivierer (DB)] could not execute query: ERROR:  function
"lo_oid" already exists with same argument types
   Command was: CREATE FUNCTION lo_oid(lo) RETURNS oid
   AS $_$SELECT $1::pg_catalog.oid$_$
   LANGUAGE sql IMMUTABLE STRICT;
pg_restore: erstelle TABLE archivemodel
pg_restore: Wiederherstellung der Daten von Tabelle
»archivemodel«
pg_restore: Wiederherstellung der Large-Object-Daten
pg_restore: 3903641 Large Objects wiederhergestellt
pg_restore: Wiederherstellung der Daten von Tabelle »BLOB COMMENTS«
pg_restore: [Custom-Archivierer] Fehler beim Suchen in Datei: Invalid
argument
pg_restore: *** abgebrochen wegen Fehler

Prozess beendet mit Exitcode 1.
********************************************************************************


Danke und Gruß,
Ulrich




Stefan Kaltenbrunner wrote:

http://archives.postgresql.org/pgsql-committers/2006-05/msg00284.php

ist wohl das problem mit den COMMENTS der BLOBS - und wird in 8.1.5
behoben sein ...


Stefan



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group