Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 63AD8476911 for ; Tue, 7 Jan 2003 10:29:34 -0500 (EST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 5140B4767C3 for ; Tue, 7 Jan 2003 10:29:22 -0500 (EST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.6/8.12.6) with ESMTP id h07FTH0U013327; Tue, 7 Jan 2003 10:29:17 -0500 (EST) To: "Dan Langille" Cc: pgsql-admin@postgresql.org, bain@tcsn.co.za Subject: Re: sanity error with pg_dump on postgresql 7.0.2 In-reply-to: <3E1A9F4C.10041.5939DDA@localhost> References: <3E1A9F4C.10041.5939DDA@localhost> Comments: In-reply-to "Dan Langille" message dated "Tue, 07 Jan 2003 09:35:08 -0500" Date: Tue, 07 Jan 2003 10:29:16 -0500 Message-ID: <13326.1041953356@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200301/52 X-Sequence-Number: 6894 "Dan Langille" writes: > I am forwarding this on behalf of bain@tcsn.co.za who is at a client > site and cannot email. > I did a search and found a mail stating that its possibly related to > a deleted user having ownership of the table. > "http://www.geocrawler.com/mail/msg.php3?msg_id=5653159&list=10" I > checked and indeed the owner that created the table no longer exists. > Unfortunately I have no idea who that user was. You don't need to know. Get the old owner's sysid with SELECT relowner FROM pg_class WHERE relname = 'busted_table'; then create a user with the appropriate sysid: CREATE USER foo WITH SYSID nnn; Once you've done that, consider upgrading to a more recent Postgres. It's been a good long while since pg_dump would choke on this situation. regards, tom lane