Re: [PATCH] expand the units that pg_size_pretty supports on output
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: [PATCH] expand the units that pg_size_pretty supports on output |
| Дата | |
| Msg-id | 1677540.1625583283@sss.pgh.pa.us обсуждение |
| Ответ на | Re: [PATCH] expand the units that pg_size_pretty supports on output (David Rowley <dgrowleyml@gmail.com>) |
| Ответы |
Re: [PATCH] expand the units that pg_size_pretty supports on output
|
| Список | pgsql-hackers |
David Rowley <dgrowleyml@gmail.com> writes:
> Does anyone want to have a look over this? If not, I plan to push it
> in the next day or so.
Minor nit: use "const char *text" in the struct declaration, so
that all of the static data can be placed in fixed storage.
> (I'm not sure why pgindent removed the space between != and NULL, but
> it did, so I left it.)
It did that because "text" is a typedef name, so it's a bit confused
about whether the statement is really a declaration. Personally I'd
have used "name" or something like that for that field, anyway.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера