pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Make Catalog.pm's representation of toast and index decls more a
Date: Wed, 25 Apr 2018 20:02:05 +0000
Message-ID: <E1fBQc9-00089e-0a@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1fBQc9-00089e-0a@gemulon.postgresql.org>
Permalink:  ../E1fBQc9-00089e-0a@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1fBQc9-00089e-0a@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Make Catalog.pm's representation of toast and index decls more a
  In-Reply-To: <E1fBQc9-00089e-0a@gemulon.postgresql.org>
  References: <E1fBQc9-00089e-0a@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox