Re: [BUGS] BUG #14244: wrong suffix for pg_size_pretty()
От | Bruce Momjian |
---|---|
Тема | Re: [BUGS] BUG #14244: wrong suffix for pg_size_pretty() |
Дата | |
Msg-id | 20160730002625.GB22405@momjian.us обсуждение исходный текст |
Ответ на | Re: [BUGS] BUG #14244: wrong suffix for pg_size_pretty() (Bruce Momjian <bruce@momjian.us>) |
Список | pgsql-hackers |
On Fri, Jul 29, 2016 at 08:18:38PM -0400, Bruce Momjian wrote: > However, that is not the end of the story. Things have moved forward > since 2006 and there is now firm support for either KB or KiB to be > 1024-based units. This blog post explains the current state of prefix > specification: > > http://pchelp.ricmedia.com/kilobytes-megabytes-gigabytes-terabytes-explained/ > > and here is a summary for 1000/1024-based units: > > Kilobyte (Binary, JEDEC) KB 1024 > Kilobyte (Decimal, Metric) kB 1000 > Kibibyte (Binary, IEC) KiB 1024 Oh, also, here is a Wikipedia article that has a nice chart on the top right: https://en.wikipedia.org/wiki/Binary_prefix and a post that explains some of the background: http://superuser.com/questions/938234/size-of-files-in-windows-os-its-kb-or-kb -- Bruce Momjian <bruce@momjian.us> http://momjian.us EnterpriseDB http://enterprisedb.com + As you are, so once was I. As I am, so you will be. + + Ancient Roman grave inscription +
В списке pgsql-hackers по дате отправления: