| От | Andrew Dunstan |
|---|---|
| Тема | Re: pgindent weirdness |
| Дата | |
| Msg-id | 4DAF4AAF.9040709@dunslane.net обсуждение исходный текст |
| Ответ на | Re: pgindent weirdness (Bruce Momjian <bruce@momjian.us>) |
| Ответы |
Re: pgindent weirdness
|
| Список | pgsql-hackers |
On 04/20/2011 04:28 PM, Bruce Momjian wrote:
> So the list of possible additions Andrew supplied are cases where we
> never reference those typedefs --- seems like a cleanup opportunity.
>
I think the best cleanup idea is Aidan's, namely is we have declared
"typdef struct foo { ... } foo;" we should use "foo" in the code
instead of "struct foo". Then the typedef will be referenced, and the
code will be cleaner, and we won't run into the pgindent "struct" bug
either, so it's a win/win/win.
cheers
andrew
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера