Re: pg_stat_bgwriter broken?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Greg Smith <greg(at)2ndquadrant(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_stat_bgwriter broken?
Date: 2010-11-14 21:16:31
Message-ID: 10871.1289769391@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Greg Smith <greg(at)2ndquadrant(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Smith 2010-11-14 21:23:48 Re: pg_stat_bgwriter broken?
Previous Message Oleg Bartunov 2010-11-14 21:04:41 Re: Bug in plpython's Python Generators