postgresql/src/backend/postmaster
Alexander Korotkov 9bd99f4c26 Custom reloptions for table AM
Let table AM define custom reloptions for its tables. This allows specifying
AM-specific parameters by the WITH clause when creating a table.

The reloptions, which could be used outside of table AM, are now extracted
into the CommonRdOptions data structure.  These options could be by decision
of table AM directly specified by a user or calculated in some way.

The new test module test_tam_options evaluates the ability to set up custom
reloptions and calculate fields of CommonRdOptions on their base.

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, Jess Davis
2024-04-08 11:23:28 +03:00
..
Makefile Move some functions from postmaster.c to a new source file 2024-03-18 11:35:05 +02:00
autovacuum.c Custom reloptions for table AM 2024-04-08 11:23:28 +03:00
auxprocess.c Refactor postmaster child process launching 2024-03-18 11:35:30 +02:00
bgworker.c Refactor postmaster child process launching 2024-03-18 11:35:30 +02:00
bgwriter.c Refactor postmaster child process launching 2024-03-18 11:35:30 +02:00
checkpointer.c Refactor postmaster child process launching 2024-03-18 11:35:30 +02:00
fork_process.c Update copyright for 2024 2024-01-03 20:49:05 -05:00
interrupt.c Centralize logic for restoring errno in signal handlers. 2024-02-14 16:34:18 -06:00
launch_backend.c Remove assertions that some compiler say are tautological 2024-03-20 09:14:51 +02:00
meson.build Move some functions from postmaster.c to a new source file 2024-03-18 11:35:05 +02:00
pgarch.c Add built-in ERROR handling for archive callbacks. 2024-04-02 22:28:11 -05:00
postmaster.c Move code for backend startup to separate file 2024-03-18 11:38:10 +02:00
startup.c Refactor postmaster child process launching 2024-03-18 11:35:30 +02:00
syslogger.c Avoid function call overhead of pg_popcount() in syslogger.c. 2024-04-02 10:32:49 -05:00
walsummarizer.c Avoid overflow in MaybeRemoveOldWalSummaries(). 2024-03-20 13:31:58 -05:00
walwriter.c Refactor postmaster child process launching 2024-03-18 11:35:30 +02:00