Re: [COMMITTERS] pgsql: Document struct/union problem with pgindent. - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: [COMMITTERS] pgsql: Document struct/union problem with pgindent.
Date
Msg-id 4A318CB9.9020909@dunslane.net
Whole thread Raw
In response to Re: [COMMITTERS] pgsql: Document struct/union problem with pgindent.  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers

Alvaro Herrera wrote:
> Andrew Dunstan wrote:
>   
>> Bruce Momjian wrote:
>>
>> + #
>> + # Structure/union pointers in function prototypes and definitions have an extra
>> + # space after the asterisk:
>> + #
>> + #    void x(struct xxc * a);
>>
>>
>> I know we should not be driven by our tools, but is there a case for a  
>> coding standard that requires use of a typedef name here?
>>     
>
> We use things like struct timeval and struct tm ... I don't think we
> should be creating typedefs for those, so it would be good to find a
> more general solution.
>
>   

Good point.

cheers

andrew


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [COMMITTERS] pgsql: Document struct/union problem with pgindent.
Next
From: Bruce Momjian
Date:
Subject: Re: [COMMITTERS] pgsql: Document struct/union problem with pgindent.