pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Refactor code creating PartitionBoundInfo
Date: Wed, 14 Nov 2018 01:03:36 +0000
Message-ID: <E1gMjai-0006Y8-NF@gemulon.postgresql.org> (raw)

Refactor code creating PartitionBoundInfo

The code building PartitionBoundInfo based on the constituent partition
data read from catalogs has been located in partcache.c, with a specific
set of routines dedicated to bound types, like sorting or bound data
creation.  All this logic is moved to partbounds.c and relocates all the
bound-specific logistic into it, with partition_bounds_create() as
principal entry point.

Author: Amit Langote
Reviewed-by: Michael Paquier, Álvaro Herrera
Discussion: https://postgr.es/m/3f289da8-6d10-75fe-814a-635e8b191d43@lab.ntt.co.jp

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b52b7dc250bba74fbaed685af4a37b450a0e2726

Modified Files
--------------
src/backend/partitioning/partbounds.c | 627 +++++++++++++++++++++++++++++++++-
src/backend/utils/cache/partcache.c   | 539 ++---------------------------
src/include/partitioning/partbounds.h |  44 +--
3 files changed, 661 insertions(+), 549 deletions(-)



Message-ID: <E1gMjai-0006Y8-NF@gemulon.postgresql.org>
Permalink:  ../E1gMjai-0006Y8-NF@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1gMjai-0006Y8-NF@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: michael@paquier.xyz
  Subject: Re: pgsql: Refactor code creating PartitionBoundInfo
  In-Reply-To: <E1gMjai-0006Y8-NF@gemulon.postgresql.org>
  References: <E1gMjai-0006Y8-NF@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