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 br...@momjian.us: 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

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 br...@momjian.us: 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,

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 br...@momjian.us 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

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 br...@momjian.us 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

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 br...@momjian.us 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.

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 alvhe...@commandprompt.com wrote: Excerpts from Kevin Grittner's message of jue ene 27 13:22:12 -0300 2011: Bruce Momjian br...@momjian.us wrote: http://en.wikipedia.org/wiki/Bytes#Unit_symbol You can see the chart on the right. According to which, the JEDEC standard

[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

[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 br...@momjian.ushttp://momjian.us EnterpriseDB

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 1024, at