Re: typedefs for indent - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: typedefs for indent
Date
Msg-id 20090330213938.GK23023@alvh.no-ip.org
Whole thread Raw
In response to Re: typedefs for indent  (Bruce Momjian <bruce@momjian.us>)
Responses Re: typedefs for indent
Re: typedefs for indent
List pgsql-hackers
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.


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: typedefs for indent
Next
From: Andrew Dunstan
Date:
Subject: Re: typedefs for indent