Обсуждение: Add minimal C example and SQL registration example for custom table access methods.

Поиск
Список
Период
Сортировка

Add minimal C example and SQL registration example for custom table access methods.

От
Phil Eaton
Дата:
Hello!

I was looking into table access methods recently and found the
existing page a bit sparse. Here's a small patch adding a little more
example code to the table access methods page.

Let me know if there's anything I can do to fix my patch up!

Cheers,
Phil

Вложения

Re: Add minimal C example and SQL registration example for custom table access methods.

От
Paul A Jungwirth
Дата:
On Sat, Nov 11, 2023 at 1:00 PM Phil Eaton <phil@eatonphil.com> wrote:
> I was looking into table access methods recently and found the
> existing page a bit sparse. Here's a small patch adding a little more
> example code to the table access methods page.

I agree this is a helpful addition for people exploring table AMs. The
patch applies and builds. No spelling/grammar errors. Integrates
smoothly with the surrounding text.

I didn't write a full table AM (maybe someday! :-) but I put the
example code into a new extension and made sure it builds. I don't
think this snippet is likely to go out of date, but is there anything
we do in doc examples to test that? (I'm not aware of anything.)

There is no commitfest entry yet. Phil, would you mind adding one? (It
will need to be against the Jan 2024 commitfest.) I started one myself
but I don't think you're registered yet so I couldn't enter you as the
patch author. Let me know if you have any trouble.

+1 from me!

Regards,
Paul