From: | Alexander Korotkov <akorotkov(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Custom reloptions for table AM |
Date: | 2024-03-30 20:54:54 |
Message-ID: | E1rqfj4-006YS5-JD@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | John Naylor | 2024-03-31 05:32:46 | pgsql: Speed up tail processing when hashing aligned C strings |
Previous Message | Tom Lane | 2024-03-30 17:57:24 | pgsql: Add pg_basetype() function to extract a domain's base type. |