Thread: Re: Custom reloptions in TableAM

Re: Custom reloptions in TableAM

From
Srinath Reddy Sadipiralla
Date:


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].


--
Thanks,
Srinath Reddy Sadipiralla
EDB: https://www.enterprisedb.com/

Re: Custom reloptions in TableAM

From
Nikita Malakhov
Date:
Hi!

Thank you very much, I'll check it out.

--
Regards,
Nikita Malakhov
Postgres Professional
The Russian Postgres Company