| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Make Catalog.pm's representation of toast and index decls more a |
| Date: | 2018-04-25 20:02:05 |
| Message-ID: | E1fBQc9-00089e-0a@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Noah Misch | 2018-04-26 01:52:07 | pgsql: Correct pg_recvlogical server version test. |
| Previous Message | Robert Haas | 2018-04-25 19:30:25 | pgsql: Prevent generation of bogus subquery scan paths. |