On Thu, Feb 9, 2017 at 12:36 PM, Peter Geoghegan <p...@bowt.ie> wrote: > On Tue, Feb 7, 2017 at 1:31 AM, Mithun Cy <mithun...@enterprisedb.com> wrote: >> SEGFAULT was the coding mistake I have called the C-language function >> directly without initializing the functioncallinfo. Thanks for >> raising. Below patch fixes same. > > It would be nice if this had an option to preload only internal B-tree > pages into shared_buffers. >
Sure, but I think it won't directly fit into the current functionality of patch which loads the blocks that were dumped from shared buffers before the server has stopped. The way to extend it could be that while dumping it just dumps the btree internal pages or something like that. -- With Regards, Amit Kapila. EnterpriseDB: http://www.enterprisedb.com -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers