pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alexander Korotkov <akorotkov@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Custom reloptions for table AM
Date: Sat, 30 Mar 2024 20:54:54 +0000
Message-ID: <E1rqfj4-006YS5-JD@gemulon.postgresql.org> (raw)

Custom reloptions for table AM

Let table AM define custom reloptions for its tables.  This allows to
specify AM-specific parameters by WITH clause when creating a table.

The code may use some parts from prior work by Hao Wu.

Discussion: https://postgr.es/m/CAPpHfdurb9ycV8udYqM%3Do0sPS66PJ4RCBM1g-bBpvzUfogY0EA%40mail.gmail.com
Discussion: https://postgr.es/m/AMUA1wBBBxfc3tKRLLdU64rb.1.1683276279979.Hmail.wuhao%40hashdata.cn
Reviewed-by: Reviewed-by: Pavel Borisov, Matthias van de Meent

Branch
------
master

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

Modified Files
--------------
src/backend/access/common/reloptions.c   |  6 ++--
src/backend/access/heap/heapam_handler.c | 12 +++++++
src/backend/access/table/tableamapi.c    | 25 +++++++++++++++
src/backend/commands/tablecmds.c         | 55 +++++++++++++++++++-------------
src/backend/postmaster/autovacuum.c      |  4 ++-
src/backend/utils/cache/relcache.c       |  6 +++-
src/include/access/reloptions.h          |  2 ++
src/include/access/tableam.h             | 43 +++++++++++++++++++++++++
8 files changed, 126 insertions(+), 27 deletions(-)



view thread (4+ messages)  latest in thread

Message-ID: <E1rqfj4-006YS5-JD@gemulon.postgresql.org>
Permalink:  ../E1rqfj4-006YS5-JD@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1rqfj4-006YS5-JD@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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: akorotkov@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Custom reloptions for table AM
  In-Reply-To: <E1rqfj4-006YS5-JD@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