]> granicus.if.org Git - postgresql/commit
Assorted minor cleanups for bootstrap-data Perl scripts.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 19 May 2018 20:04:47 +0000 (16:04 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 19 May 2018 20:04:47 +0000 (16:04 -0400)
commite7a808f947c66e2e2186c9495359865dadaf511a
treede800c7117acb50af1b35b17f20abd94b650cebf
parent06f66cff9e0b93db81db1595156b2aff8ba1786e
Assorted minor cleanups for bootstrap-data Perl scripts.

FindDefinedSymbol was intended to take an array of possible include
paths, but it never actually worked correctly for any but the first
array element.  Since there's no use-case for more than one path
anyway, let's just simplify this code and its callers by redefining
it as taking only one include path.

Minor other code-beautification without functional effects, except
that in one place we format the output as pgindent would do.

John Naylor

Discussion: https://postgr.es/m/CAJVSVGXM_n32hTTkircW4_K1LQFsJNb6xjs0pAP4QC0ZpyJfPQ@mail.gmail.com
src/backend/catalog/Catalog.pm
src/backend/catalog/genbki.pl
src/backend/utils/Gen_fmgrtab.pl
src/include/catalog/reformat_dat_file.pl
src/include/catalog/unused_oids