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

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


pgsql-sql by date:

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