pgsql: Review format of code generated by PerfectHash.pm - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Review format of code generated by PerfectHash.pm
Date
Msg-id E1kV1vr-0005GS-Ge@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: Fix ALTER TABLE .. ENABLE/DISABLE TRIGGER recursion
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Fix -Wcast-function-type warnings on Windows/MinGW