pgsql: Free memory after building each statistics object

2021-09-23 Thread Tomas Vondra
Free memory after building each statistics object Until now, all extended statistics on a given relation were built in the same memory context, without resetting. Some of the memory was released explicitly, but not all of it - for example memory allocated while detoasting values is hard to free. T

pgsql: Free memory after building each statistics object

2021-09-23 Thread Tomas Vondra
Free memory after building each statistics object Until now, all extended statistics on a given relation were built in the same memory context, without resetting. Some of the memory was released explicitly, but not all of it - for example memory allocated while detoasting values is hard to free. T

pgsql: Free memory after building each statistics object

2021-09-23 Thread Tomas Vondra
Free memory after building each statistics object Until now, all extended statistics on a given relation were built in the same memory context, without resetting. Some of the memory was released explicitly, but not all of it - for example memory allocated while detoasting values is hard to free. T

pgsql: Free memory after building each statistics object

2021-09-23 Thread Tomas Vondra
Free memory after building each statistics object Until now, all extended statistics on a given relation were built in the same memory context, without resetting. Some of the memory was released explicitly, but not all of it - for example memory allocated while detoasting values is hard to free. T

pgsql: Free memory after building each statistics object

2021-09-23 Thread Tomas Vondra
Free memory after building each statistics object Until now, all extended statistics on a given relation were built in the same memory context, without resetting. Some of the memory was released explicitly, but not all of it - for example memory allocated while detoasting values is hard to free. T

pgsql: Free memory after building each statistics object

2021-09-23 Thread Tomas Vondra
Free memory after building each statistics object Until now, all extended statistics on a given relation were built in the same memory context, without resetting. Some of the memory was released explicitly, but not all of it - for example memory allocated while detoasting values is hard to free. T