Re: Help! pg_dump: Error message from server: ERROR: cache lookup failed for type 19 - Mailing list pgsql-general

From Craig Ringer
Subject Re: Help! pg_dump: Error message from server: ERROR: cache lookup failed for type 19
Date
Msg-id 4C8EEAE6.6030304@postnewspapers.com.au
Whole thread Raw
In response to Re: Help! pg_dump: Error message from server: ERROR: cache lookup failed for type 19  (夏武 <xia.wu.cn@gmail.com>)
List pgsql-general
On 14/09/2010 11:02 AM, 夏武 wrote:
> I reconvery it  by \copy command.
> thanks very much.

Glad to help.

In future, it might be a good idea to:

- Keep regular pg_dump backups; and
- Avoid trying to alter the system catalogs

With Slony you can never completely avoid needing to mess with the
catalogs, as it seems to be able to get things into a nasty state
sometimes. However, if you do have to do catalog work it's a good idea
to ask for help here *before* doing anything, because it'll be easier to
fix if you haven't deleted catalog entries etc.

--
Craig Ringer

Tech-related writing at http://soapyfrogs.blogspot.com/

pgsql-general by date:

Previous
From: 夏武
Date:
Subject: Re: Help! pg_dump: Error message from server: ERROR: cache lookup failed for type 19
Next
From: A B
Date:
Subject: What filesystem to use for postgres?