Re: pg_dumpall in post

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "karthikeyan V" <karthik(at)asianbourses(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: pg_dumpall in post
Date: 2001-05-23 14:41:35
Message-ID: 14612.990628895@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"karthikeyan V" <karthik(at)asianbourses(dot)com> writes:
> "failed sanity check, table user_details was not found
> pg_dump failed on users, exiting"

Probably, you deleted the pg_shadow entry for the user that owned this
table. 7.1's pg_dump is somewhat smarter about this sort of situation,
but in older versions it doesn't cope well. Look in pg_class to see
what relowner the table has, and create a new user with matching sysid.
Or change the relowner to match the sysid of an existing user.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Oleg Bartunov 2001-05-23 16:14:41 rfd: multi-key GiST index problems
Previous Message Tom Lane 2001-05-23 14:36:43 Re: Failing backend on plpgsql function