Commit Graph

2 Commits (0750cc3a8e66db0bb00c8e44f746df2fec632c82)

Author SHA1 Message Date
Sait Talha Nisanci 64a9baffbd Adjust tests for 9.5 2021-11-05 13:08:11 +03:00
Onder Kalaci 53fbe96399 Deparse/parse the local cached queries
With local query caching, we try to avoid deparse/parse stages as the
operation is too costly.

However, we can do deparse/parse operations once per cached queries, right
before we put the plan into the cache. With that, we avoid edge
cases like (4239) or (5038).

In a sense, we are making the local plan caching behave similar for non-cached
local/remote queries, by forcing to deparse the query once.

(cherry picked from commit 69ca943e58)
2021-11-05 13:08:11 +03:00