Thread: pgsql: Minor cleanup in genbki.pl.

pgsql: Minor cleanup in genbki.pl.

From
Tom Lane
Date:
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(-)