Re: [PATCH] Cleanup of GUC units code - Mailing list pgsql-hackers

From tomas@tuxteam.de
Subject Re: [PATCH] Cleanup of GUC units code
Date
Msg-id 20080908134509.GB6060@tomas
Whole thread Raw
In response to Re: [PATCH] Cleanup of GUC units code  ("Greg Stark" <stark@enterprisedb.com>)
List 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@sss.pgh.pa.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-----


pgsql-hackers by date:

Previous
From: Zdenek Kotala
Date:
Subject: Re: Prototype: In-place upgrade v02
Next
From: "Fujii Masao"
Date:
Subject: Re: Synchronous Log Shipping Replication