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

From: Paul A Jungwirth <pj(at)illuminatedcomputing(dot)com>
To: Phil Eaton <phil(at)eatonphil(dot)com>
Cc: pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: Add minimal C example and SQL registration example for custom table access methods.
Date: 2023-11-11 21:17:26
Message-ID: CA+renyUC+sYP6Oj-bvwLF9H+b3eqAwGKUW3WP+Es4UBXkg04YQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-hackers

On Sat, Nov 11, 2023 at 1:00 PM Phil Eaton <phil(at)eatonphil(dot)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

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message PG Doc comments form 2023-11-11 22:45:04 T is a mandatory date time separator in RFC3339 but documentation states differently
Previous Message PG Doc comments form 2023-11-10 21:00:40 Missing ;

Browse pgsql-hackers by date

  From Date Subject
Next Message Nathan Bossart 2023-11-11 21:49:43 Re: autovectorize page checksum code included elsewhere
Previous Message Matthias van de Meent 2023-11-11 21:08:00 Re: Optimizing nbtree ScalarArrayOp execution, allowing multi-column ordered scans, skip scan