Re: Custom reloptions in TableAM
Srinath Reddy Sadipiralla <srinath2133@gmail.com>
From: Srinath Reddy Sadipiralla <srinath2133@gmail.com>
To: Nikita Malakhov <hukutoc@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-06-21T02:54:15Z
Lists: pgsql-hackers
On Sat, Jun 21, 2025 at 1:39 AM Nikita Malakhov <hukutoc@gmail.com> wrote: > Hi hackers! > > While developing an alternative Table AM I've stumbled > upon the impossibility to set custom reloptions to the table > created by Table AM, like it could be done for Index AM. > > I haven't found any comments on this and implemented > a mechanism of setting custom reloptions for a relation > created with Table AM, if needed. These options are stored > in Relcache and are accessed through the rd_options field. > > The main scenario for custom reloptions is something like: > CREATE TABLE t (...) USING myTableAM WITH (custom_opt1=..., ...); > I think there are some similar efforts going on ,you can check in this thread [0]. [0] https://www.postgresql.org/message-id/flat/20250302085641.hmjom5ru3w554t2n%40poseidon.home.virt -- Thanks, Srinath Reddy Sadipiralla EDB: https://www.enterprisedb.com/