doc: Add minimal C and SQL example to add a custom table AM handler
authorMichael Paquier <[email protected]>
Mon, 7 Oct 2024 06:47:40 +0000 (15:47 +0900)
committerMichael Paquier <[email protected]>
Mon, 7 Oct 2024 06:47:40 +0000 (15:47 +0900)
commite09fff7c980a8b545a18e119be41bf67cd2e9182
tree927d599b6e74e4ea782795eb31af50b1611e07f1
parent2e7c4abe5a88a1528236a13c9ef2e351a97fa022
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
doc/src/sgml/tableam.sgml