-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In PostgreSQL 14, planner was restructured in regard to query string passing. This change allows us to remove fair amount of lines and complexity that had been added as a struggle for retrieving proper query string. Two callbacks, post_parse_analyze_hook and ProcessUtility_hook are no longer used. get_query_string is removed altogether. Also current_hint_retrieved juggling, which was complex and fragile, disappears. Now pg_hint_plan_planner alone can retrieve hint string by looking into the given string. In PostgreSQL 14, a new optimization item "memoize" is added. It is not handled in this commit and leave it for a later commit.
- Loading branch information
Showing
14 changed files
with
551 additions
and
1,271 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.