Review format of code generated by PerfectHash.pm
authorMichael Paquier <michael@paquier.xyz>
Wed, 21 Oct 2020 00:22:27 +0000 (09:22 +0900)
committerMichael Paquier <michael@paquier.xyz>
Wed, 21 Oct 2020 00:22:27 +0000 (09:22 +0900)
commit19ae53c92d5f5bdfb971d560a562e84c5f65c8b0
treec6ec0417d11267670b4eb17a73721f5dd40a913a
parentbbb927b4db9b3b449ccd0f76c1296de382a2f0c1
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
src/include/common/unicode_normprops_table.h
src/tools/PerfectHash.pm