Re: [PATCH] Cleanup of GUC units code

From: tomas(at)tuxteam(dot)de
To: Greg Stark <stark(at)enterprisedb(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] Cleanup of GUC units code
Date: 2008-09-08 13:45:09
Message-ID: 20080908134509.GB6060@tomas
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, Sep 08, 2008 at 02:18:55PM +0100, Greg Stark wrote:
> On Mon, Sep 8, 2008 at 2:11 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> > But of course case insensitivity isn't going to fix that example for you.
> > So we're right back at the question of where we should draw the line in
> > trying to accept variant input.
>
> Well it's not a perfect precedent but for example, dd accepts:
>
> G (2^30)
> M (2^20)
> k (2^10)
> K (2^10)
> Kb (10^3)
> MB (10^6)
> GB (10^9)
> b (512)

Heh. But it doesn't take Gb or gB or gb, which was one of your express
wishes. So -- hm.

Regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIxSxlBcgs9XrR2kYRAkOkAJ9pp7nNjgJOb2NtHPwKIKZMcsNYlQCdE8wa
VQ/c+9Nan1V3d+/cdTm+Xn4=
=rkzg
-----END PGP SIGNATURE-----

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Fujii Masao 2008-09-08 13:54:56 Re: Synchronous Log Shipping Replication
Previous Message Zdenek Kotala 2008-09-08 13:27:40 Re: Prototype: In-place upgrade v02