Re: pg_restore errors - Mailing list pgsql-general

From Tom Lane
Subject Re: pg_restore errors
Date
Msg-id 13001.1131666679@sss.pgh.pa.us
Whole thread Raw
In response to pg_restore errors  (Scott Frankel <leknarf@pacbell.net>)
Responses Re: pg_restore errors  (Scott Frankel <leknarf@pacbell.net>)
List pgsql-general
Scott Frankel <leknarf@pacbell.net> writes:
> After upgrading from postgres 7.x.x to 8.1.0, my database restore
> produces the following error msgs.

> SCHEMA public postgres
> pg_restore: [archiver (db)] could not execute query: ERROR:  must be
> owner of schema public
>      Command was: COMMENT ON SCHEMA public IS 'Standard public schema';
> pg_restore: WARNING:  no privileges could be revoked
> pg_restore: WARNING:  no privileges were granted

Apparently you're not running the restore as a database superuser?

Those particular messages can be ignored, since public presumably exists
(and is commented) already.  If you see any others then you might want
to worry.

            regards, tom lane

pgsql-general by date:

Previous
From: "Russ Brown"
Date:
Subject: Congratulations on 8.1
Next
From: Bob Pawley
Date:
Subject: Re: Where