Re: Problemas con pgdump

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Xavier Vidal <xvpxvp(at)menta(dot)net>
Cc: "'pgsql-es-ayuda:postgresql(dot)org'" <pgsql-es-ayuda(at)postgresql(dot)org>
Subject: Re: Problemas con pgdump
Date: 2005-12-22 12:23:36
Message-ID: 20051222122336.GB20414@surnet.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

Xavier Vidal escribió:

> REVOKE ALL ON TABLE suggeriment_idsuggeriment_seq FROM PUBLIC;
> REVOKE ALL ON TABLE suggeriment_idsuggeriment_seq FROM postgres;
> GRANT ALL ON TABLE suggeriment_idsuggeriment_seq TO postgres;
> GRANT ALL ON TABLE suggeriment_idsuggeriment_seq TO web;

[falta una s]

Hmm, muy raro. Haz esto:

select relname from pg_class where relname like 'sugger%' and relkind = 's';
set enable_indexscan to off;
select relname from pg_class where relname like 'sugger%' and relkind = 's';

> REVOKE ALL ON TABLE "llibre-apartats_idapartat_seq" FROM PUBLIC;
> REVOKE ALL ON TABLE "llibre-apartats_idapartat_seq" FROM postgres;
> GRANT ALL ON TABLE "llibre-apartats_idapartat_seq" TO postgres;
> GRANT ALL ON TABLE "llibre-apartats_idapartat_seq" TO web;

[un _ fue cambiado a -]

select relname from pg_class where relname like 'llibre%' and relkind = 's';
set enable_indexscan to off;
select relname from pg_class where relname like 'llibre%' and relkind = 's';

Cada cuanto tiempo haces vacuum de pg_class?

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Jaime Vera Sobino 2005-12-22 12:58:15 Consulta Php con Postgres 8.1
Previous Message Alvaro Herrera 2005-12-22 11:58:56 Re: Referencia de function