Re: [COMMITTERS] pgsql: Document struct/union problem with pgindent.

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: [COMMITTERS] pgsql: Document struct/union problem with pgindent.
Дата
Msg-id 20090611225453.GI6401@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: [COMMITTERS] pgsql: Document struct/union problem with pgindent.  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: [COMMITTERS] pgsql: Document struct/union problem with pgindent.  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
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.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Document struct/union problem with pgindent.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Document struct/union problem with pgindent.