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-gdcwamdnvqjtr...@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(-)

Reply via email to