Thread: pgsql: Make Catalog.pm's representation of toast and index decls morea

pgsql: Make Catalog.pm's representation of toast and index decls morea

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1eb3a09e93d28765fcf42c703c4c7322ad2686d7

Modified Files
--------------
src/backend/catalog/Catalog.pm | 17 +++++------------
src/backend/catalog/genbki.pl  | 24 ++++++++++++++++++------
src/include/catalog/indexing.h |  4 ----
3 files changed, 23 insertions(+), 22 deletions(-)