Re: typedefs for indent - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: typedefs for indent
Date
Msg-id 49D13F7A.8010701@dunslane.net
Whole thread Raw
In response to Re: typedefs for indent  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: typedefs for indent  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers

Alvaro Herrera wrote:
> 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;
>
>
>
>   


These symbols are not in the buildfarm's list of typedefs.

cheers

andrew


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: typedefs for indent
Next
From: Alvaro Herrera
Date:
Subject: Re: typedefs for indent