Re: pg_restore errors

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Scott Frankel <leknarf(at)pacbell(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: pg_restore errors
Date: 2005-11-10 23:51:19
Message-ID: 13001.1131666679@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Scott Frankel <leknarf(at)pacbell(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bob Pawley 2005-11-10 23:56:18 Re: Where
Previous Message Uwe C. Schroeder 2005-11-10 23:34:34 Re: Where