Re: copy a database - Mailing list pgsql-general

From David Suela Fernández
Subject Re: copy a database
Date
Msg-id 1093508385.22524.7.camel@yen-lo-wang
Whole thread Raw
In response to Re: copy a database  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: copy a database
Re: copy a database
List pgsql-general
El mié, 25-08-2004 a las 20:54, Tom Lane escribió:
> David Suela =?ISO-8859-1?Q?Fern=E1ndez?= <dsuela@xsto.info> writes:
> > The problem is that pg_dump always give me the next error:
>
> > pg_dump: SQL command failed
> > pg_dump: Error message from server: ERROR:  relation "pg_user" does not exist
>
> Have you tried re-creating that view?
>
> CREATE VIEW pg_catalog.pg_user AS
>     SELECT
>         usename,
>         usesysid,
>         usecreatedb,
>         usesuper,
>         usecatupd,
>         '********'::text as passwd,
>         valuntil,
>         useconfig
>     FROM pg_shadow;
>
>             regards, tom lane

It return:
ERROR:  permission denied to create "pg_catalog.pg_user"
DETAIL:  System catalog modifications are currently disallowed.

How can i change this permissions?

--
David Suela Fernández <dsuela@xsto.info>
xsto.info <el acceso a la información>


pgsql-general by date:

Previous
From: Janning Vygen
Date:
Subject: Re: Constraints to Guarantee unique across tables with foreign key?
Next
From: "gnari"
Date:
Subject: Re: Possible to insert quoted null value into integer field?