Closed michaelpq closed 1 year ago
@rjuju @yamatattsu @horiguti @MasahikoSawada If there are no objections from any of you, do you mind if I apply this patch and fix the regression tests? I have other patches brewing on top of that that would need more careful review.
This one has been applied as well. Now the master branch has stable regression tests.
Query jumbling is possible in PostgreSQL 16 for utilities, generating a JumbleState that could involve a query normalization. This does not really matter for query hints, so this commit patches the post parse-analyze hook to ignore entirely utility queries.