Re: pg_stat_bgwriter broken? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pg_stat_bgwriter broken?
Date
Msg-id 10871.1289769391@sss.pgh.pa.us
Whole thread Raw
In response to pg_stat_bgwriter broken?  (Greg Smith <greg@2ndquadrant.com>)
Responses Re: pg_stat_bgwriter broken?
List pgsql-hackers
Greg Smith <greg@2ndquadrant.com> writes:
> I'm behind on my list mail so maybe this has been mentioned already, but 
> when I just tried pg_stat_bgwriter from a build against today's HEAD I 
> got this:

> pgbench=# select count(*) FROM pg_stat_bgwriter;
> ERROR:  did not find '}' at end of input node

Worksforme.  You probably need a full recompile and/or initdb.
This is a typical symptom when someone adds a field to a parse node
type and you have code or stored rules that haven't been updated.
(Usually though we try to bump catversion when an initdb is needed
because of such a change.)
        regards, tom lane


pgsql-hackers by date:

Previous
From: Oleg Bartunov
Date:
Subject: Re: Bug in plpython's Python Generators
Next
From: Greg Smith
Date:
Subject: Re: pg_stat_bgwriter broken?