Re: copy a database

Поиск
Список
Период
Сортировка
От David Suela Fernández
Тема Re: copy a database
Дата
Msg-id 1093508385.22524.7.camel@yen-lo-wang
обсуждение исходный текст
Ответ на Re: copy a database  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: copy a database  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: copy a database  (Guy Fraser <guy@incentre.net>)
Список 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 по дате отправления:

Предыдущее
От: Janning Vygen
Дата:
Сообщение: Re: Constraints to Guarantee unique across tables with foreign key?
Следующее
От: "gnari"
Дата:
Сообщение: Re: Possible to insert quoted null value into integer field?