Table access methods
Pluggable table storage API (tableam) with CREATE TABLE ... USING, tuple slot types and the heap AM behind it. Introduced in PostgreSQL 12.
Versions
- PostgreSQL 20 · worked-on · improved · moderate
- PostgreSQL 19 · worked-on · new · major
- PostgreSQL 18 · shipped · improved · moderate · 1 commit · +11 / -1 lines
- PostgreSQL 17 · shipped · improved · major · 20 commits · +2.5k / -993 lines
- PostgreSQL 16 · shipped · improved · moderate · 2 commits · +320 / -199 lines
- PostgreSQL 15 · worked-on · improved · major
- PostgreSQL 14 · worked-on · improved · major
Threads
- [PATCH] Use the table AM relation_size callback in the SQL size functions
- Fix exclusion of the init fork in table_block_relation_size()
- [PATCH] Corruption Issue: Fix missing tts_tid in ExecForceStoreHeapTuple
- Allow table AMs to define their own reloptions
- ExecForceStoreHeapTuple() loses tts_tid, so ORDER BY-op index scans project an invalid ctid
- Allow tuple visibility checks without hint-bit, maintenance
- heapam_relation_toast_am() returns the wrong AM for a wrapped heap AM
- Sparse attribute fetch hook on TupleTableSlotOps (for column-store slot types)
- Stale comments for the tuple_update/tuple_delete options parameter
- heapam_tuple_complete_speculative : remove unnecessary tuple fetch
- Inherit regression outputs rows in alternative ordering when run on other table AM than heap
- New Table Access Methods for Multi and Single Inserts
- table AM option passing
- Qual push down to table AM
- Proposal: Exploring LSM Tree‑Based Storage Engine for PostgreSQL (Inspired by MyRocks)
- track needed attributes in plan nodes for executor use
- Custom reloptions in TableAM
- table_tuple_lock's snapshot argument
- Improve DDL related functionality in table AM
- BUG #18674: Partitioned table doesn't depend on access method it uses
- Add minimal C example and SQL registration example for custom table access methods.
- coupling of index and table access methods
- Pgstattuple on Sequences: Seeking Community Feedback on Potential Patch
- Lack of possibility to specify CTAS TAM
- ALTER TABLE SET ACCESS METHOD on partitioned tables
- Table AM Interface Enhancements
- Fix parameters order for relation_copy_for_cluster
- POC: Lock updated tuples in tuple_update() and tuple_delete()
- Add test module for Table Access Method
- Introduce a new API for TableAmRoutine
- Typo with amtype = 's' in opr_sanity.sql
- small erreport bug over partitioned table pgrowlocks module
- doc: a small improvement about pg_am description
- Re: Example Table AM implementation
- Including a sample Table Access Method with core code
- BUG #18000: Access method used by matview can be dropped leaving broken matview
- Feature: Add reloption support for table access method
- Table AM and DDLs
- Assign TupleTableSlot->tts_tableOid duplicated in tale AM.
- Should setting TupleTableSlotOps get_heap_tuple=NULL break INSERT..ON CONFLICT DO UPDATE..RETURNING?
- Re: Table AM modifications to accept column projection lists
- Compressed pluggable storage experiments
- Per-table storage parameters for TableAM/IndexAM extensions
- Modest proposal to extend TableAM API for controlling cluster commands
- Extending USING [heap | mytam | yourtam] grammar and behavior
- tableam options for pg_dump/ALTER/LIKE
- PoC Refactor AM analyse API
- Table AM modifications to accept column projection lists
- alter table set TABLE ACCESS METHOD
- Zedstore - compressed in-core columnar storage
- RFC: Table access methods and scans
- Batch insert in CTAS/MatView code
- MaxOffsetNumber for Table AMs
- [v15] ALTER TABLE ... SET ACCESS METHOD
- Reloptions for table access methods
- Fallback table AM for relkinds without storage
- Add table access method as an option to pgbench
- Multi Inserts in CREATE TABLE AS - revived patch
- Add table AM 'tid_visible'
- Removal of currtid()/currtid2() and some table AM cleanup
- Include access method in listTables output
- Towards easier AMs: Cleaning up inappropriate use of name "relkind"
- Use TableAm API in pg_table_size
- tableam vs. TOAST
- [Proposal] Extend TableAM routines for ANALYZE scan
- How to prohibit parallel scan through tableam?
- Extend Table AM routine to get total blocks can be analyzed
- heapam_index_build_range_scan's anyvisible
- Pluggable Storage - Andres's take
- Custom table AMs need to include heapam.h because of BulkInsertState
- Allow table AM's to cache stuff in relcache
- Comment typo in tableam.h
- tableam: abstracting relation sizing code
- doc: update "relam" description in pg_class catalog reference
- Typo in tableamapi.c
- pg_basebackup failure after setting default_table_access_method option
- Status of the table access method work
- tableam: inconsistent parameter name
- Table AM callbacks referring to heap in declarations (+typos)
- psql completion bugs with access methods
- tableam.h fails cpluspluscheck
- pgsql: tableam: introduce table AM infrastructure.
- Inconsistency between table am callback and table function names
- Create TOAST table only if AM needs
- table_delete and table_update don't document snapshot parameter
- Table AM callback table_complete_speculative()'s succeeded argument is reversed
- Match table_complete_speculative() code to comment
- tableam scan-API patch broke foreign key validation
- pgsql: tableam: basic documentation.
- Small typo fix on tableam documentation
- What to name the current heap after pluggable storage / what to rename?
- Inheriting table AMs for partitioned tables
- TupleTableSlot abstraction
- Acceptable/Best formatting of callbacks (for pluggable storage)
- Displaying and dumping of table access methods
- Row Visibility and Table Access Methods
- Trigger tuple slotification (extracted from pluggable storage patch)
- Pluggable storage
- Columnar storage support
- Rethinking TupleTableSlot deforming