On 14 August 2015 at 17:42, Tom Lane wrote:
> The simplest fix for this would be to give up on the idea that DO blocks
> use private simple_eval_estates, and make them use the shared one.
> However, that would result in intra-transaction memory bloat for
> transactions executing large numbers of
On 08/14/2015 12:42 PM, Tom Lane wrote:
In commit 0fc94a5ba I wrote:
+* ... It's okay to update the [ session-wide ]
+* hash table with the new tree because all plpgsql functions within a
+* given transaction share the same simple_eval_estate.
Um. Well, that's true for actual fun
In commit 0fc94a5ba I wrote:
+* ... It's okay to update the [ session-wide ]
+* hash table with the new tree because all plpgsql functions within a
+* given transaction share the same simple_eval_estate.
Um. Well, that's true for actual functions, but plpgsql DO blocks use
their own