From: | Michael Paquier <michael(at)paquier(dot)xyz> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Split handling of reloptions for partitioned tables |
Date: | 2019-11-14 03:37:12 |
Message-ID: | E1iV5wW-0005Z9-DI@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2019-11-14 05:07:06 | pgsql: Cleanup code in reloptions.h regarding reloption handling |
Previous Message | Andres Freund | 2019-11-14 00:39:10 | pgsql: Fix plan instability in the new tuplesort test. |