pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: doc: Add minimal C and SQL example to add a custom table AM hand
Date: Mon, 07 Oct 2024 06:48:05 +0000
Message-ID: <E1sxhXJ-002WDK-VV@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1sxhXJ-002WDK-VV@gemulon.postgresql.org>
Permalink:  ../E1sxhXJ-002WDK-VV@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1sxhXJ-002WDK-VV@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: doc: Add minimal C and SQL example to add a custom table AM hand
  In-Reply-To: <E1sxhXJ-002WDK-VV@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox