Re: system view corrupted, i get "unexpected right parenthesis" for many system tables. - Mailing list pgsql-sql

From David Ford
Subject Re: system view corrupted, i get "unexpected right parenthesis" for many system tables.
Date
Msg-id 523e55a00601091301i61384c75n91124ab7437f3dd3@mail.gmail.com
Whole thread Raw
In response to Re: system view corrupted, i get "unexpected right parenthesis" for many system tables.  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: system view corrupted, i get "unexpected right parenthesis" for many system tables.  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-sql
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 <tgl@sss.pgh.pa.us> wrote:
David Ford <firefighterblu3@gmail.com> 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.

pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: system view corrupted, i get "unexpected right parenthesis" for many system tables.
Next
From: Tom Lane
Date:
Subject: Re: system view corrupted, i get "unexpected right parenthesis" for many system tables.