On Thu, Jan 19, 2023 at 09:42:03AM +0100, Peter Eisentraut wrote:
> I see that in the 0003 patch, most location fields now have an explicit
> markup with query_jumble_ignore. I thought we had previously resolved to
> consider location fields to be automatically ignored unless explicitly
> included (like for the Const node). This appears to invert that? Am I
> missing something?
As a result, I have rebased the patch set to use the two-attribute
approach: query_jumble_ignore and query_jumble_location.
On top of the three previous patches, I am adding 0004 to implement a
GUC able to switch the computation of the utility statements between
what I am calling "string" to compute the query IDs based on the hash
of the query string and the previous default, or "jumble", to use the
parsed tree, with a few more tests to see the difference. Perhaps it
is not worth bothering, but it could be possible that some users don't
want to pay the penalty of doing the query jumbling with the parsed
tree for utilities, as well..
--
Michael