pgsql: Minor code beautification in partition_bounds_equal.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Minor code beautification in partition_bounds_equal.
Date: 2017-12-01 18:55:46
Message-ID: E1eKqTS-0001tW-Ap@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Minor code beautification in partition_bounds_equal.

Use get_greatest_modulus more consistently, instead of doing the
same thing in an ad-hoc manner in this one place.

Ashutosh Bapat

Discussion: http://postgr.es/m/CAFjFpReT9L4RCiJBKOyWC2=i02kv9uG2fx=4Fv7kFY2t0SPCgw@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/35438e5763c3021e579472e4b0c4a4d6038570b4

Modified Files
--------------
src/backend/catalog/partition.c | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2017-12-02 00:54:48 pgsql: Add infrastructure for sharing temporary files between backends.
Previous Message Robert Haas 2017-12-01 18:50:13 pgsql: postgres_fdw: Fix test that didn't test what it claimed.