X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 19BAF9DCA15 for ; Mon, 9 Jan 2006 16:23:22 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 27847-04 for ; Mon, 9 Jan 2006 16:23:22 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 2F1609DC944 for ; Mon, 9 Jan 2006 16:23:18 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id k09KN1pY007647; Mon, 9 Jan 2006 15:23:01 -0500 (EST) To: David Ford cc: pgsql-sql@postgresql.org Subject: Re: system view corrupted, i get "unexpected right parenthesis" for many system tables. In-reply-to: <523e55a00601091133u5769dedcy73a77a04ee85f917@mail.gmail.com> References: <523e55a00601091133u5769dedcy73a77a04ee85f917@mail.gmail.com> Comments: In-reply-to David Ford message dated "Mon, 09 Jan 2006 14:33:24 -0500" Date: Mon, 09 Jan 2006 15:23:00 -0500 Message-ID: <7646.1136838180@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.077 required=5 tests=[AWL=0.077] X-Spam-Score: 0.077 X-Spam-Level: X-Archive-Number: 200601/36 X-Sequence-Number: 23825 David Ford writes: > i encountered this when trying to do a pg_dumpall in preparation for moving > from 8.0 to 8.1. Would it be too far off to guess that you're running Gentoo? This looks like ye olde problem with that hierarchical-queries patch that they push on people. Either adding or removing the patch breaks your database :-(. Since your rewrite rule looks standard, I'm guessing that you rebuilt and added the patch at some point after initially building your database. Reconfigure 8.0 the way you originally built it and you should be OK ... unless you have views that you created after changing ... regards, tom lane