From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | tstump(at)regenstrief(dot)org (Tim Stump) |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: nodeRead: did not find '}' at end of plan node |
Date: | 2003-02-14 21:32:59 |
Message-ID: | 11222.1045258379@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
tstump(at)regenstrief(dot)org (Tim Stump) writes:
> I'm trying to drop a view from my postgres database and getting the
> following error:
> ERROR: nodeRead: did not find '}' at end of plan node
This suggests either that you have a corrupted entry in pg_rewrite,
or that the database is somehow version-incompatible with the backend
(ie, the backend is expecting a different parsetree-node layout than
what is in the database entry for the view).
Would you show us the output from
select * from pg_rewrite where ev_class = (select oid from pg_class
where relname = 'the-troublesome-view');
If you don't really care about determining the cause, you could just
manually DELETE the view's row from pg_class, and then you should be
able to dump. But it would be interesting to figure out how you got
into this state.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2003-02-14 21:35:33 | Re: In 7.3.1, will I be able to reindex toast? |
Previous Message | Jeffrey Baker | 2003-02-14 21:31:37 | Re: In 7.3.1, will I be able to reindex toast? |