Unix Technical Forum

BUG #2452: Error w/ pg_restore and blobs

This is a discussion on BUG #2452: Error w/ pg_restore and blobs within the pgsql Bugs forums, part of the PostgreSQL category; --> The following bug has been logged online: Bug reference: 2452 Logged by: Robert Treat Email address: xzilla@users.sourceforge.net PostgreSQL version: ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Bugs

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-10-2008, 11:00 AM
Robert Treat
 
Posts: n/a
Default BUG #2452: Error w/ pg_restore and blobs


The following bug has been logged online:

Bug reference: 2452
Logged by: Robert Treat
Email address: xzilla@users.sourceforge.net
PostgreSQL version: 8.1
Operating system: Fedora Core 4
Description: Error w/ pg_restore and blobs
Details:

[root@localhost ~]# time pg_restore -U postgres -a --disable-triggers -Fc
mojo.pgr -d mojo
pg_restore: [archiver (db)] Error while PROCESSING TOC:
pg_restore: [archiver (db)] Error from TOC entry 4261; 0 0 BLOB COMMENTS
BLOB COMMENTS
pg_restore: [archiver (db)] could not execute query: ERROR: relation "BLOB
COMMENTS" does not exist
Command was: ALTER TABLE "BLOB COMMENTS" DISABLE TRIGGER ALL;
pg_restore: [archiver (db)] could not execute query: ERROR: relation "BLOB
COMMENTS" does not exist
Command was:
ALTER TABLE "BLOB COMMENTS" ENABLE TRIGGER ALL;
WARNING: errors ignored on restore: 2

real 220m31.582s
user 28m43.769s
sys 14m57.497s
[root@localhost ~]#


Relevant lines from my restore file are:

[root@localhost ~]# pg_restore -U postgres -Fc mojo.pgr -l | grep BLOB
4260; 0 0 BLOBS - BLOBS
4261; 0 0 BLOB COMMENTS - BLOB COMMENTS

This doesn't really cause any problem for me personally, but seems like it
isn't right, though I couldn't discern if the problem was with pg_restore
misinterpreting the blob comments line or pg_dump adding the line
erroneously.

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-10-2008, 11:00 AM
Tom Lane
 
Posts: n/a
Default Re: BUG #2452: Error w/ pg_restore and blobs

"Robert Treat" <xzilla@users.sourceforge.net> writes:
> [root@localhost ~]# time pg_restore -U postgres -a --disable-triggers -Fc
> mojo.pgr -d mojo
> pg_restore: [archiver (db)] Error while PROCESSING TOC:
> pg_restore: [archiver (db)] Error from TOC entry 4261; 0 0 BLOB COMMENTS
> BLOB COMMENTS
> pg_restore: [archiver (db)] could not execute query: ERROR: relation "BLOB
> COMMENTS" does not exist
> Command was: ALTER TABLE "BLOB COMMENTS" DISABLE TRIGGER ALL;


Dealt with, thanks for report.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:59 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com