| От | Greg Smith |
|---|---|
| Тема | Re: Explain buffers display units. |
| Дата | |
| Msg-id | 4B78D13A.3060101@2ndquadrant.com обсуждение исходный текст |
| Ответ на | Explain buffers display units. (Greg Stark <stark@mit.edu>) |
| Список | pgsql-hackers |
Greg Stark wrote: > b) Used units of memory -- I formatted them with 3 significant digits > (unless the unit is bytes or kB where that would be silly). It's just > what looked best to my eye. > How does this compare with what comes out of pg_size_pretty (src/backend/utils/adt/dbsize.c)? I already have code floating around that parses the output from pg_size_pretty when I'm slurping in things from PostgreSQL, and it's not immediately obvious to me what having a format that's similar to but not quite the same as that one is buying here. -- Greg Smith 2ndQuadrant US Baltimore, MD PostgreSQL Training, Services and Support greg@2ndQuadrant.com www.2ndQuadrant.us
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера