Re: [PATCH] Cleanup of GUC units code

From: Hannu Krosing <hannu(at)krosing(dot)net>
To: Joshua Drake <jd(at)commandprompt(dot)com>
Cc: Greg Stark <greg(dot)stark(at)enterprisedb(dot)com>, Peter Eisentraut <peter_e(at)gmx(dot)net>, Gregory Stark <stark(at)enterprisedb(dot)com>, Marko Kreen <markokr(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] Cleanup of GUC units code
Date: 2008-09-03 22:26:44
Message-ID: 1220480804.7603.17.camel@huvostro
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Wed, 2008-09-03 at 11:45 -0700, Joshua Drake wrote:
> On Wed, 3 Sep 2008 19:36:19 +0100
> Greg Stark <greg(dot)stark(at)enterprisedb(dot)com> wrote:
> > Sure if people want to do it the right way more power to them. What
> > you're talking about is punishing people when they don't live up to
> > your standards.
> I think I will defer to Andrew and Alvaro's opinion on the matter.

So Andrews opinion was that Mb (meaning Mbit) is different from MB (for
megabyte) and that if someone thinks that we define shared buffers in
megabits can get confused and order wrong kind of network card ?

I can understand Alvaros stance more readily - if we have irrational
constraints on what can go into conf file, and people wont listen to
reason, then build better tools for helping people to compli to these
irrational demands. It has the added benefit of helping to catch reall
conf file errors.

I did not realize earlier that KB vs kb vs kB vs Kb is a religious
issue .

I mean, there is no known written standard, which says that Mb is
megabit, not megabyte or that you can (or can't) write kilo as K, but
some people just believe that kB is "the Way" and allowing people to
write kilobytes as KB or kb is evil and should be punished.

To me this sounds stupid, but I understand that this is a thing that
can't be argued logically and I have better things to do than changing
peoples irrational beliefs.



In response to


Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-09-03 22:36:44 Re: [PATCH] In case module has wrong magic, report exact problem
Previous Message Andrew Chernow 2008-09-03 22:10:53 Re: libpq events patch