pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add index_get_partition convenience function
Date: Wed, 20 Mar 2019 21:19:25 +0000
Message-ID: <E1h6icP-0006b4-OB@gemulon.postgresql.org> (raw)

Add index_get_partition convenience function

This new function simplifies some existing coding, as well as supports
future patches.

Discussion: https://postgr.es/m/201901222145.t6wws6t6vrcu@alvherre.pgsql
Reviewed-by: Amit Langote, Jesper Pedersen

Branch
------
master

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

Modified Files
--------------
src/backend/catalog/partition.c  | 36 ++++++++++++++++++++++++++++++++++++
src/backend/commands/tablecmds.c | 40 +++++++++++-----------------------------
src/include/catalog/partition.h  |  1 +
3 files changed, 48 insertions(+), 29 deletions(-)



Message-ID: <E1h6icP-0006b4-OB@gemulon.postgresql.org>
Permalink:  ../E1h6icP-0006b4-OB@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1h6icP-0006b4-OB@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: alvherre@alvh.no-ip.org
  Subject: Re: pgsql: Add index_get_partition convenience function
  In-Reply-To: <E1h6icP-0006b4-OB@gemulon.postgresql.org>
  References: <E1h6icP-0006b4-OB@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