Re: A small rant about coding style for backend functions
В списке pgsql-hackers по дате отправления:
| От | Gregory Stark |
|---|---|
| Тема | Re: A small rant about coding style for backend functions |
| Дата | |
| Msg-id | 87lk9892lp.fsf@oxford.xeocode.com обсуждение исходный текст |
| Ответ на | Re: A small rant about coding style for backend functions (Bruce Momjian <bruce@momjian.us>) |
| Список | pgsql-hackers |
"Bruce Momjian" <bruce@momjian.us> writes: > Tom Lane wrote: > >> Having said that, there are two or three tips worth knowing about >> pg_indent's behavior, like when and how to use dashes to prevent >> comment blocks from being re-flowed. But it's a short list. > > Agreed, and the developer's FAQ already has this: > > <P><I>pgindent</I> will the format code by specifying flags to your What I would like to see are guidelines on the more important issues. Things like always using PG_GETARG_* and DatumGet* rather than explicitly calling pg_detoast_datum() and so on. Actually I'm not sure what else would fall under "and so on". -- Gregory Stark EnterpriseDB http://www.enterprisedb.com Ask me about EnterpriseDB's 24x7 Postgres support!
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера