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 A005B9DC9BE for ; Mon, 9 Jan 2006 17:01:48 -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 44852-04 for ; Mon, 9 Jan 2006 17:01:49 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.195]) by postgresql.org (Postfix) with ESMTP id 772469DC999 for ; Mon, 9 Jan 2006 17:01:45 -0400 (AST) Received: by zproxy.gmail.com with SMTP id x3so4154289nzd for ; Mon, 09 Jan 2006 13:01:46 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=cPvQn6bTTNid0Rb/p3J+nGjIRpHT5JMnoFo690hSi+VHYTJJEbo3chkoCh13AC0M7yumGBDvbHrFLBGpw4+Ijz2MZ+XRiYwrPZHrq8W4IB/3ETVPodagPSSh/plfRlthoDwIoysUBgXWIbv5El4txbaPqEik4RZmALUa2cWrxHs= Received: by 10.65.249.15 with SMTP id b15mr2778993qbs; Mon, 09 Jan 2006 13:01:46 -0800 (PST) Received: by 10.65.249.18 with HTTP; Mon, 9 Jan 2006 13:01:46 -0800 (PST) Message-ID: <523e55a00601091301i61384c75n91124ab7437f3dd3@mail.gmail.com> Date: Mon, 9 Jan 2006 16:01:46 -0500 From: David Ford To: Tom Lane , pgsql-sql@postgresql.org Subject: Re: system view corrupted, i get "unexpected right parenthesis" for many system tables. In-Reply-To: <7646.1136838180@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_19091_12461932.1136840506042" References: <523e55a00601091133u5769dedcy73a77a04ee85f917@mail.gmail.com> <7646.1136838180@sss.pgh.pa.us> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.473 required=5 tests=[AWL=0.472, HTML_MESSAGE=0.001] X-Spam-Score: 0.473 X-Spam-Level: X-Archive-Number: 200601/37 X-Sequence-Number: 23826 ------=_Part_19091_12461932.1136840506042 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline you are correct and we've gone down that road. i build my db with 8.0.1, and i've upgraded through to 8.0.5 as time went by and i never noticed an issue with it until i went to bump to 8.1 today. i've tried with and without the hier patch and neither seems to work. i have a few options left to try but i might be reduced to stitching together COPYs and system tables from an older backup. On 1/9/06, Tom Lane wrote: > > 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 > -- Gay/Firefighter/EMT/Geek in 06451, USA It's the ideals of Linux and Open Source that are amazing, it embodies what WE want, not what is marketed Once you lose the greatest of all things, it's the memories you cherish for all time. He was the best, I could have been better. ------=_Part_19091_12461932.1136840506042 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline you are correct and we've gone down that road.  i build my db with 8.0= .1, and i've upgraded through to 8.0.5 as time went by and i never noticed = an issue with it until i went to bump to 8.1 today.

i've tried with = and without the hier patch and neither seems to work.  i have a few op= tions left to try but i might be reduced to stitching together COPYs and sy= stem tables from an older backup.

On 1/9/06, Tom Lane <tgl@sss.pgh.pa= .us> wrote:
David Ford <firefighterblu3= @gmail.com> writes:
> i encountered this when trying to do a p= g_dumpall in preparation for moving
> from 8.0 to 8.1.

Would i= t be too far off to guess that you're running Gentoo?  This looks
like ye olde problem with that hierarchical-queries patch that they pus= h
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 databas= e.
Reconfigure 8.0 the way you originally built it and you should be OK = ...
unless you have views that you created after changing ...

            &nb= sp;           regard= s, tom lane



--
Gay/Fire= fighter/EMT/Geek in 06451, USA
It's the ideals of Linux and Open Source = that are amazing, it embodies what WE want, not what is marketed

Once you lose the greatest of all things, it's the memories you che= rish for all time.  He was the best, I could have been better. ------=_Part_19091_12461932.1136840506042--