Re: [ADMIN] pg_dump fails with the following error: "ERROR: cache lookup failed for index 1531353157"

2010-09-21 Thread Tom Lane
"Benjamin Arai, Ph.D." writes: > The server is still running but pg_dumps output the following error. What > should I do? Try reindexing pg_index in whichever database is giving trouble. Depending on what PG version you are using (which is something that should ALWAYS be mentioned in any kind of

Re: [ADMIN] pg_dump fails with the following error: "ERROR: cache lookup failed for index 1531353157"

2010-09-21 Thread Benjamin Arai, Ph.D.
Is the index 1531353157? To be clear, I would just run: REINDEX INDEX 1531353157 Thanks, Benjamin On Tue, Sep 21, 2010 at 1:57 PM, Joshua D. Drake wrote: > On Tue, 2010-09-21 at 13:32 -0700, Benjamin Arai, Ph.D. wrote: > > Hello, > > > > The server is still running but pg_dumps output the follo

Re: [ADMIN] pg_dump fails with the following error: "ERROR: cache lookup failed for index 1531353157"

2010-09-21 Thread Joshua D. Drake
On Tue, 2010-09-21 at 13:32 -0700, Benjamin Arai, Ph.D. wrote: > Hello, > > The server is still running but pg_dumps output the following error. > What should I do? Try reindexing the index. Joshua D. Drake -- PostgreSQL.org Major Contributor Command Prompt, Inc: http://www.commandprompt.com

[ADMIN] pg_dump fails with the following error: "ERROR: cache lookup failed for index 1531353157"

2010-09-21 Thread Benjamin Arai, Ph.D.
Hello, The server is still running but pg_dumps output the following error. What should I do? Thanks, Benjamin OUTPUT: pg_dump: SQL command failed pg_dump: Error message from server: ERROR: cache lookup failed for index 1531353157 pg_dump: The command was: SELECT t.tableoid, t.oid, t.relname a

[ADMIN] pgdview

2010-09-21 Thread Lukasz Brodziak
Hi, Have anyone used pgdview 0.3 with postgresql 8.4 on Ubuntu? If so can someone help me with configuration and installation. -- Ɓukasz Brodziak -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-adm

Re: [ADMIN] [Postgresql 8.4.2] problem restoring data

2010-09-21 Thread fida aljounaidi
Hi Thank you for your answer. I'm trying again with another dump. By the way I'm working on ubuntu server 8.04 ,postgresql 8.4.2. Regards Fida On 21 September 2010 16:54, Tom Lane wrote: > fida aljounaidi writes: > > I want to restore a large database (5GB) from a backup (dump postgresql)

Re: [ADMIN] [Postgresql 8.4.2] problem restoring data

2010-09-21 Thread Tom Lane
fida aljounaidi writes: > I want to restore a large database (5GB) from a backup (dump postgresql) > When the process arrive to the largest table, it stops with this output > "pg_restore: [custom archiver] could not uncompress data: too many length or > distance symbols" Hm. Either you have a c

[ADMIN] [Postgresql 8.4.2] problem restoring data

2010-09-21 Thread fida aljounaidi
Hi I want to restore a large database (5GB) from a backup (dump postgresql) When the process arrive to the largest table, it stops with this output "pg_restore: [custom archiver] could not uncompress data: too many length or distance symbols" i do the dump with "pg_dump -Fc" Does someone have an