pgsql: Improve legibility of numeric literal

Lists: pgsql-committers
From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Improve legibility of numeric literal
Date: 2017-07-17 19:36:05
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Lists: pgsql-committers

Improve legibility of numeric literal

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/cde11fa3c003407fc6c4ddc427d57e588ea17d1c

Modified Files
--------------
src/test/perl/PostgresNode.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: pgsql-committers <pgsql-committers(at)postgresql(dot)org>
Subject: Re: pgsql: Improve legibility of numeric literal
Date: 2017-07-18 02:22:01
Message-ID: CA+TgmoaYsa384tKROfzi-xGueHsP4-qP77Lt1wp8CYrO0hRvMQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Lists: pgsql-committers

On Mon, Jul 17, 2017 at 3:36 PM, Andrew Dunstan <andrew(at)dunslane(dot)net> wrote:
> Improve legibility of numeric literal

Ugh. Are we going to start doing this all the time? Some of the
time? At the whim of whoever was committing? I didn't even know this
was legal syntax.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: pgsql-committers <pgsql-committers(at)postgresql(dot)org>
Subject: Re: pgsql: Improve legibility of numeric literal
Date: 2017-07-18 02:36:54
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Lists: pgsql-committers

On 07/17/2017 10:22 PM, Robert Haas wrote:
> On Mon, Jul 17, 2017 at 3:36 PM, Andrew Dunstan <andrew(at)dunslane(dot)net> wrote:
>> Improve legibility of numeric literal
> Ugh. Are we going to start doing this all the time? Some of the
> time? At the whim of whoever was committing? I didn't even know this
> was legal syntax.
>

I was just adjusting a commit I had made a very shortly before. It is
legal syntax, but I'd been unable to find the documentation for it until
it was pointed out to me.

I'm sorry of you dislike it, I find it makes the literal much more readable.

cheers

andrew