Re: Bug in pg_dumpall

From: Doug McNaught <doug(at)mcnaught(dot)org>
To: Denis Gasparin <denis(at)edistar(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Bug in pg_dumpall
Date: 2003-11-21 15:02:43
Message-ID: 87y8u9ojcc.fsf@asmodeus.mcnaught.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Denis Gasparin <denis(at)edistar(dot)com> writes:

> Looking into the generated sql, i find that the schema is created with
> the command:
>
> CREATE USER aaa PASSWORD 'bbb' NOCREATEDB NOCREATEUSER;
>
> SET SESSION AUTHORIZATION aaa;
> CREATE SCHEMA aaa;
>
> This fails giving me the following error:
> ERROR: aaaa: permission denied
>
> Any ideas?

Are you doing the restore as a regular user? Output of pg_dumpall is
designed to be restored by the superuser.

-Doug

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2003-11-21 15:16:56 Re: PGSQL on shared hosting
Previous Message Carmen Gloria Sepulveda Dedes 2003-11-21 14:53:55 Execute vacuum