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: Split handling of reloptions for partitioned tables
Date: Thu, 14 Nov 2019 03:37:12 +0000
Message-ID: <E1iV5wW-0005Z9-DI@gemulon.postgresql.org> (raw)

Split handling of reloptions for partitioned tables

Partitioned tables do not have relation options yet, but, similarly to
what's done for views which have their own parsing table, it could make
sense to introduce new parameters for some of the existing default ones
like fillfactor, autovacuum, etc.  Splitting things has the advantage to
make the information stored in rd_options include only the necessary
information, reducing the amount of memory used for a relcache entry
with partitioned tables if new reloptions are introduced at this level.

Author:  Nikolay Shaplov
Reviewed-by: Amit Langote, Michael Paquier
Discussion: https://postgr.es/m/1627387.Qykg9O6zpu@x200m

Branch
------
master

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

Modified Files
--------------
src/backend/access/common/reloptions.c | 22 ++++++++++++++++++----
src/backend/commands/tablecmds.c       | 19 ++++++++++++++-----
src/include/access/reloptions.h        |  1 +
3 files changed, 33 insertions(+), 9 deletions(-)



Message-ID: <E1iV5wW-0005Z9-DI@gemulon.postgresql.org>
Permalink:  ../E1iV5wW-0005Z9-DI@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1iV5wW-0005Z9-DI@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: Split handling of reloptions for partitioned tables
  In-Reply-To: <E1iV5wW-0005Z9-DI@gemulon.postgresql.org>
  References: <E1iV5wW-0005Z9-DI@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