pgsql: Fix buffer usage stats for parallel nodes.

2018-08-03 Thread Amit Kapila
Fix buffer usage stats for parallel nodes. The buffer usage stats is accounted only for the execution phase of the node. For Gather and Gather Merge nodes, such stats are accumulated at the time of shutdown of workers which is done after execution of node due to which we missed to account them

pgsql: Fix buffer usage stats for parallel nodes.

2018-08-03 Thread Amit Kapila
Fix buffer usage stats for parallel nodes. The buffer usage stats is accounted only for the execution phase of the node. For Gather and Gather Merge nodes, such stats are accumulated at the time of shutdown of workers which is done after execution of node due to which we missed to account them

pgsql: Fix buffer usage stats for parallel nodes.

2018-08-03 Thread Amit Kapila
Fix buffer usage stats for parallel nodes. The buffer usage stats is accounted only for the execution phase of the node. For Gather and Gather Merge nodes, such stats are accumulated at the time of shutdown of workers which is done after execution of node due to which we missed to account them

pgsql: Fix buffer usage stats for parallel nodes.

2018-08-03 Thread Amit Kapila
Fix buffer usage stats for parallel nodes. The buffer usage stats is accounted only for the execution phase of the node. For Gather and Gather Merge nodes, such stats are accumulated at the time of shutdown of workers which is done after execution of node due to which we missed to account them