From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Remove a couple of unnecessary if-tests. |
Date: | 2019-11-24 17:03:24 |
Message-ID: | E1iYvIC-0007JI-0v@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Remove a couple of unnecessary if-tests.
Commit abd9ca377 replaced a couple of while-loops in fmtfloat()
with calls to dopr_outchmulti, but I (tgl) failed to notice that
the new if-tests guarding those calls were really unnecessary,
because they're inside a larger if-block checking the same thing.
Ranier Vilela
Discussion: https://postgr.es/m/MN2PR18MB2927850AB00CF39CC370D107E34B0@MN2PR18MB2927.namprd18.prod.outlook.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/91da65f4ac2837e0792071e42b2e2101059f1b1b
Modified Files
--------------
src/port/snprintf.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2019-11-24 19:09:45 | pgsql: Stabilize the results of pg_notification_queue_usage(). |
Previous Message | Tom Lane | 2019-11-23 22:30:27 | pgsql: Improve test coverage for LISTEN/NOTIFY. |