Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#24055] YSQL: fix pg_hint_plan regression with executing prepared st…
…atement Summary: Fix a regression introduced in 5523770 where the hints were missed out when the query was recompiled without going through semantic analysis again. Move the query string - query tree consistency check to the hint_table specific code. In the other case, the hints are directly taken from the query string without using the location info in the query tree hence the mismatch is harmless. **pg15: there's nothing to merge/port to the pg15 branch.** Jira: DB-12947 Test Plan: ./yb_build.sh --java-test 'org.yb.pgsql.TestPgMisc#testPgHintPlanExtendedQuery' ./yb_build.sh --java-test 'org.yb.pgsql.TestYbBackup#testPgHintPlan' ./yb_build.sh --java-test 'org.yb.pgsql.TestPgRegressThirdPartyExtensionsPgHintPlan' Jenkins: test regex: .*PgHintPlan.* Reviewers: tnayak Reviewed By: tnayak Subscribers: smishra, yql Differential Revision: https://phorge.dev.yugabyte.com/D38265
- Loading branch information