pgsql: Minor cleanup in genbki.pl. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Minor cleanup in genbki.pl.
Date
Msg-id E1esAbK-0006sE-8E@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Minor cleanup in genbki.pl.

Separate out the pg_attribute logic of genbki.pl into its own function.
Drop unnecessary "defined $catalog->{data}" check.  This both narrows
and shortens the data writing loop of the script.  There is no functional
change (the emitted files are the same as before).

John Naylor

Discussion: https://postgr.es/m/CAJVSVGXnLH=BSo0x-aA818f=MyQqGS5nM-GDCWAMdnvQJTRC1A@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8d90b4d01a6120aeaf61ede22dbdda0dd714b7dd

Modified Files
--------------
src/backend/catalog/genbki.pl | 266 ++++++++++++++++++++++--------------------
1 file changed, 137 insertions(+), 129 deletions(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: doc: Improve wording
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Minor fixes for reloptions tests