Re: [HACKERS] Caching index AM working data across aminsert calls

2017-02-07 Thread Robert Haas
On Tue, Feb 7, 2017 at 6:04 PM, Tom Lane wrote: > It's always been possible for index AMs to cache data across successive > amgettuple calls within a single SQL command: the IndexScanDesc.opaque > field is meant for precisely that. However, no comparable facility > exists for

[HACKERS] Caching index AM working data across aminsert calls

2017-02-07 Thread Tom Lane
It's always been possible for index AMs to cache data across successive amgettuple calls within a single SQL command: the IndexScanDesc.opaque field is meant for precisely that. However, no comparable facility exists for amortizing setup work across successive aminsert calls. The attached