{"shas":[["0319da638f337cae66a4649581dc1f33d5079e1a","ac1e0af1ee8efe15f889b38482e897ff7d0f0432@iki.fi","Reset per-tuple memory context between every row in a scan node, even when\nthere's no quals or projections. Currently this only matters for foreign\nscans, as none of the other scan nodes litter the per-tuple memory context\nwhen there's no quals or projections.","Heikki Linnakangas"],["30e98a7e6e4869a7d6b3748ac9770bb8d69a8b26","ac1e0af1ee8efe15f889b38482e897ff7d0f0432@iki.fi","Pull up isReset flag from AllocSetContext to MemoryContext struct. This\navoids the overhead of one function call when calling MemoryContextReset(),\nand it seems like the isReset optimization would be applicable to any new\nmemory context we might invent in the future anyway.\n\nThis buys back the overhead I just added in previous patch to always call\nMemoryContextReset() in ExecScan, even when there's no quals or projections.","Heikki Linnakangas"]],"repo":"postgres/postgres","actor":"postgres-mirror","ref":"refs/heads/master","size":2,"head":"30e98a7e6e4869a7d6b3748ac9770bb8d69a8b26","actor_gravatar":"b843ba1ea54a1b6c35a20550ad076b2b","push_id":31948140}