coupling of index and table access methods

From: Aleksey Demakov <ademakov(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: coupling of index and table access methods
Date: 2024-10-01 13:51:35
Message-ID: CAFCwUrBdoYeVVG8s2FNYdkJ4PDmBa=QfJ71zFze3FndyiwmA1Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi hackers,

My extension introduces a new table access method together with an
index access method. Specifically, these AMs work with in-memory data.

I would like to make a CREATE TABLE request with PRIMARY KEY, UNIQUE
constraints etc, to pick my in-memory index AM over default btree when
the table is created using my in-memory table AM. Also it might make
sense to forbid using other index AM for CREATE INDEX requests against
an in-memory table.

It seems that this is not possible now without modifying the psql
core. What might be the best way to accomplish this?

Also if I implement such a thing would anybody else be interested in
it? Is there any sense to publish it?

Regards,
Aleksey

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alexander Lakhin 2024-10-01 14:00:00 Re: Improving tracking/processing of buildfarm test failures
Previous Message Daniel Gustafsson 2024-10-01 13:51:34 Re: Converting README documentation to Markdown