Custom reloptions for table AM
Alexander Korotkov <akorotkov@postgresql.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/common/reloptions.c | modified | +4 −2 |
| src/backend/access/heap/heapam_handler.c | modified | +12 −0 |
| src/backend/access/table/tableamapi.c | modified | +25 −0 |
| src/backend/commands/tablecmds.c | modified | +32 −23 |
| src/backend/postmaster/autovacuum.c | modified | +3 −1 |
| src/backend/utils/cache/relcache.c | modified | +5 −1 |
| src/include/access/reloptions.h | modified | +2 −0 |
| src/include/access/tableam.h | modified | +43 −0 |
Discussion
- Table AM Interface Enhancements 104 messages · 2023-11-23 → 2024-06-22
- Feature: Add reloption support for table access method 4 messages · 2023-05-05 → 2023-05-10