pgsql: doc: Add minimal C and SQL example to add a custom table AM hand

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: doc: Add minimal C and SQL example to add a custom table AM hand
Date: 2024-10-07 06:48:05
Message-ID: E1sxhXJ-002WDK-VV@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

doc: Add minimal C and SQL example to add a custom table AM handler

The documentation was rather sparse on this matter and there is no
extension in-core that shows how to do it. Adding a small example will
hopefully help newcomers. An advantage of writing things this way is
that the contents are not going to rot because of backend changes.

Author: Phil Eaton
Reviewed-by: Robert Haas, Fabrízio de Royes Mello
Discussion: https://postgr.es/m/CAByiw+r+CS-ojBDP7Dm=9YeOLkZTXVnBmOe_ajK=en8C_zB3_g@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e09fff7c980a8b545a18e119be41bf67cd2e9182

Modified Files
--------------
doc/src/sgml/tableam.sgml | 51 +++++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 49 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Daniel Gustafsson 2024-10-07 09:53:01 pgsql: doc: Quote value in SET NAMES documentation
Previous Message Michael Paquier 2024-10-07 03:36:30 pgsql: Use camel case for "DateStyle" in some error messages