Re: Tomas Vondra 2018-11-28 <1b4e4c5e-7007-cd61-aae5-4a1c248e385c(at)2ndquadrant(dot)com>
> Wouldn't it be sufficient / better to just store the search_path used
> when executing the query? That should be enough to resolve the object
> names correctly, and the overhead would be much lower (both in terms
> extra space and CPU overhead).
That would also work better for sub-queries from functions, if you
wanted to re-run the query in question. It's closer to reality.
Christoph