Hi, On 2018-12-19 12:02:38 +0100, Peter Eisentraut wrote: > On 19/12/2018 11:15, Thomas Munro wrote: > > It just means tuples stored in no particular order (as opposed to eg > > btree tables, in systems that support those). > > So would the proposed pluggable storage API allow index-organized base > storage and other non-heap layouts?
Well, that depends on what "non-heap layouts" you're thinking of. I think there'd be some further work needed to make efficient IOTs possible, but the patchset gets us a long way to be able to do that in a pluggable fashion. Biggest problem would probably be extending the existing index AMs, for secondary indexes, to point to a key wider than a tid, without loosing too much efficiency. Greetings, Andres Freund