Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 79B2C9F9F47 for ; Fri, 15 Dec 2006 12:51:52 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-new, port 10024) with ESMTP id 81771-10 for ; Fri, 15 Dec 2006 12:51:42 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id D39729FA491 for ; Fri, 15 Dec 2006 12:51:42 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id kBFGpTBc011298; Fri, 15 Dec 2006 11:51:30 -0500 (EST) To: "Sandy Spence" cc: "'Shoaib Mir'" , pgsql-admin@postgresql.org Subject: Re: invalid types and tables In-reply-to: <004701c72066$64238170$520b3cc1@pc2axs> References: <004701c72066$64238170$520b3cc1@pc2axs> Comments: In-reply-to "Sandy Spence" message dated "Fri, 15 Dec 2006 16:30:54 +0000" Date: Fri, 15 Dec 2006 11:51:29 -0500 Message-ID: <11297.1166201489@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/228 X-Sequence-Number: 24020 "Sandy Spence" writes: > thanks for the help, one last question I hope, how do I cross reference the > pg_class, pg_user and pg_type so that I can obtain the usesysid of the > missing owner? It's whatever is in the relowner and typowner fields. There is no entry anymore in pg_user, if there were you wouldn't be having a problem; so you'll likely have to make up names for the user ids. regards, tom lane