dbTalk Databases Forums  

[BUGS] BUG #2550: pg_dumpall 7.4.13 -> restore 8.1.4 problem

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] BUG #2550: pg_dumpall 7.4.13 -> restore 8.1.4 problem in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
AT
 
Posts: n/a

Default [BUGS] BUG #2550: pg_dumpall 7.4.13 -> restore 8.1.4 problem - 07-26-2006 , 09:51 AM







The following bug has been logged online:

Bug reference: 2550
Logged by: Michael Enke
Email address: michael.enke (AT) wincor-nixdorf (DOT) com
PostgreSQL version: 8.1.4
Operating system: SuSE Linux 9.2
Description: pg_dumpall 7.4.13 -> restore 8.1.4 problem
Details:

I used pg_dumpall in 7.4.13.
In the created backup there is a
.... delete from pg_shadow ...
since it is a table, all ok.

But in 8.1.4 it is a view so I get an error at restore:
ERROR: cannot delete from a view
HINT: You need an unconditional ON DELETE DO INSTEAD rule.

The same for pg_group
Is there a way to patch the output of pg_dumpall 7.4?
I found nothing in the docu (heavy to look for,
pg_dumpall found in so many places).

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Reply With Quote
  #2  
Old   
AT
 
Posts: n/a

Default Re: [BUGS] BUG #2550: pg_dumpall 7.4.13 -> restore 8.1.4 problem - 07-26-2006 , 10:11 AM






"Michael Enke" <michael.enke (AT) wincor-nixdorf (DOT) com> writes:
Quote:
I used pg_dumpall in 7.4.13.
In the created backup there is a
... delete from pg_shadow ...
since it is a table, all ok.

But in 8.1.4 it is a view so I get an error at restore:
ERROR: cannot delete from a view
HINT: You need an unconditional ON DELETE DO INSTEAD rule.
Just ignore the error.

regards, tom lane

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

http://archives.postgresql.org


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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.