]> granicus.if.org Git - postgresql/commit
Make Catalog.pm's representation of toast and index decls more abstract.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 25 Apr 2018 19:19:44 +0000 (15:19 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 25 Apr 2018 20:01:58 +0000 (16:01 -0400)
commit1eb3a09e93d28765fcf42c703c4c7322ad2686d7
tree988578c206e65fc83ce720969f3818cf4d6fa722
parentdc1057fcd878d5c062c5c4c2b548af2be513b6ab
Make Catalog.pm's representation of toast and index decls more abstract.

Instead of immediately constructing the string we need to emit into the
.BKI file, preserve the items we extracted from the header file in a hash.
This eases using the info for other purposes.

John Naylor (with cosmetic adjustments by me)

Discussion: https://postgr.es/m/37D774E4-FE1F-437E-B3D2-593F314B7505@postgrespro.ru
src/backend/catalog/Catalog.pm
src/backend/catalog/genbki.pl
src/include/catalog/indexing.h