Re: Help! pg_dump: Error message from server: ERROR: cache lookup failed for type 19

From: Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>
To: 夏武 <xia(dot)wu(dot)cn(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Help! pg_dump: Error message from server: ERROR: cache lookup failed for type 19
Date: 2010-09-14 03:24:22
Message-ID: 4C8EEAE6.6030304@postnewspapers.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message A B 2010-09-14 08:00:17 What filesystem to use for postgres?
Previous Message 夏武 2010-09-14 03:02:22 Re: Help! pg_dump: Error message from server: ERROR: cache lookup failed for type 19