Bruce Momjian wrote:
> Alvaro Herrera wrote:
> > Bruce Momjian wrote:
> >
> > > Thanks. I will run tests when we are ready for pg_indent and we can
> > > then make a decision.
> >
> > FWIW I was looking at this code for unrelated reasons and found a couple
> > of symbols that pgindent considers to be typedefs but it clearly are not
> > -- BufferHitCount and LocalBufferHitCount. It can be seen in
> > ShowBufferUsage().
>
> Are you saying you saw this in Andrew's typedef output, or from the 8.3
> run of pg_indent?
This is on the 8.3 code. Notice how this is formatted:
hitrate = (float) BufferHitCount *100.0 / ReadBufferCount;
(line 1465)
--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.