Re: [HACKERS] Re: In pg_test_fsync, use K(1024) rather than k(1000) for write size units.

2011-01-27 Thread Kevin Grittner
Alvaro Herrera wrote: > Excerpts from Kevin Grittner's message of jue ene 27 13:22:12 -0300 2011: >> Bruce Momjian wrote: >> >> > http://en.wikipedia.org/wiki/Bytes#Unit_symbol >> > >> > You can see the chart on the right. >> >> According to which, the JEDEC standard requires KB and the IEC

Re: [HACKERS] Re: In pg_test_fsync, use K(1024) rather than k(1000) for write size units.

2011-01-27 Thread Alvaro Herrera
Excerpts from Kevin Grittner's message of jue ene 27 13:22:12 -0300 2011: > Bruce Momjian wrote: > > > http://en.wikipedia.org/wiki/Bytes#Unit_symbol > > > > You can see the chart on the right. > > According to which, the JEDEC standard requires KB and the IEC > standard requires KiB. What s

Re: [HACKERS] Re: In pg_test_fsync, use K(1024) rather than k(1000) for write size units.

2011-01-27 Thread Bruce Momjian
Kevin Grittner wrote: > Bruce Momjian wrote: > > > http://en.wikipedia.org/wiki/Bytes#Unit_symbol > > > > You can see the chart on the right. > > According to which, the JEDEC standard requires KB and the IEC > standard requires KiB. What standard led us to use kB instead? It > seems to gen

Re: [HACKERS] Re: In pg_test_fsync, use K(1024) rather than k(1000) for write size units.

2011-01-27 Thread Kevin Grittner
Bruce Momjian wrote: > http://en.wikipedia.org/wiki/Bytes#Unit_symbol > > You can see the chart on the right. According to which, the JEDEC standard requires KB and the IEC standard requires KiB. What standard led us to use kB instead? It seems to generally mean 1000 instead of 1024. > Ho

Re: [HACKERS] Re: In pg_test_fsync, use K(1024) rather than k(1000) for write size units.

2011-01-27 Thread Bruce Momjian
Nicolas Barbier wrote: > 2011/1/27 Bruce Momjian : > > > Bruce Momjian wrote: > > > >> Peter Eisentraut wrote: > >> > >>> We use small "k" in postgresql.conf, so pg_test_fsync should use the > >>> same. ?Using "kB" would be more accurate in any case. > >> > >> OK, done with the attached applied pa

Re: [HACKERS] Re: In pg_test_fsync, use K(1024) rather than k(1000) for write size units.

2011-01-27 Thread Nicolas Barbier
2011/1/27 Bruce Momjian : > Bruce Momjian wrote: > >> Peter Eisentraut wrote: >> >>> We use small "k" in postgresql.conf, so pg_test_fsync should use the >>> same.  Using "kB" would be more accurate in any case. >> >> OK, done with the attached applied patch. > > FYI, I had used 'k' because this p

Re: [HACKERS] Re: In pg_test_fsync, use K(1024) rather than k(1000) for write size units.

2011-01-26 Thread Bruce Momjian
Bruce Momjian wrote: > Peter Eisentraut wrote: > > We use small "k" in postgresql.conf, so pg_test_fsync should use the > > same. Using "kB" would be more accurate in any case. > > OK, done with the attached applied patch. FYI, I had used 'k' because this page suggests that k is 1000 and K is 10

[HACKERS] Re: In pg_test_fsync, use K(1024) rather than k(1000) for write size units.

2011-01-26 Thread Bruce Momjian
Peter Eisentraut wrote: > We use small "k" in postgresql.conf, so pg_test_fsync should use the > same. Using "kB" would be more accurate in any case. OK, done with the attached applied patch. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterpr

[HACKERS] Re: In pg_test_fsync, use K(1024) rather than k(1000) for write size units.

2011-01-26 Thread Peter Eisentraut
We use small "k" in postgresql.conf, so pg_test_fsync should use the same. Using "kB" would be more accurate in any case. -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers