pgsql: Review format of code generated by PerfectHash.pm

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Review format of code generated by PerfectHash.pm
Date: 2020-10-21 00:24:47
Message-ID: E1kV1vr-0005GS-Ge@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Review format of code generated by PerfectHash.pm

80f8eb7 has added to the normalization quick check headers some code
generated by PerfectHash.pm that is incompatible with the settings of
gitattributes for this repository, as whitespaces followed a set of tabs
for the first element of a line in the table. Instead of adding a new
exception to gitattributes, rework the format generated so as a right
padding with spaces is used instead of a left padding. This keeps the
table generated in a readable shape with its set of columns, making
unnecessary an update of gitattributes.

Reported-by: Peter Eisentraut
Author: John Naylor
Discussion: https://postgr.es/m/d601b3b5-a3c7-5457-2f84-3d6513d690fc@2ndquadrant.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/19ae53c92d5f5bdfb971d560a562e84c5f65c8b0

Modified Files
--------------
src/include/common/unicode_normprops_table.h | 3076 +++++++++++++-------------
src/tools/PerfectHash.pm | 13 +-
2 files changed, 1546 insertions(+), 1543 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2020-10-21 06:18:41 pgsql: Fix -Wcast-function-type warnings on Windows/MinGW
Previous Message Alvaro Herrera 2020-10-20 22:23:50 pgsql: Fix ALTER TABLE .. ENABLE/DISABLE TRIGGER recursion