mirror of https://github.com/citusdata/citus.git
utilityStmt sometimes (such as when it's inside of a plpgsql function) comes from a cached plan, which is kept in a child of the CacheMemoryContext. When we naively call copyObject we're copying it into a statement-local context, which corrupts the cached plan when it's thrown away. |
||
---|---|---|
.. | ||
backend | ||
include | ||
test/regress |