Comments (3)
I doubt that EXPLAIN or auto_exaplain shows that but setting pg_hint_plan.debug_print=verbose or details shows the log like the follows if it works correctly.
2020-02-14 13:36:59.956 JST [13475] LOG: pg_hint_plan[qno=0xd]: HintStateDump: {used hints:SeqScan(a)SeqScan(b)}, {not used hints:(none)}, {duplicate hints:(none)}, {error hints:(none)}
But, I should have made a bug here. The hints in the function should apply to the following query but it has no effect at 1.3.4. The same bug is found in back to PG10 and backpatched to the branch.
from pg_hint_plan.
(That commit for the master branch is the result of wrongly split of the changes. Code change is contained in the previous commit 0576a94 )
from pg_hint_plan.
Looks like there is nothing left to do here, so closing.
from pg_hint_plan.
Related Issues (20)
- Does pg_hint_plan support "unnamed_subquery" added as part of PG 16 ? HOT 1
- Instability of pg_hint_plan.sql test in PG16 + master on a slow box (or when testing with valgrind). HOT 1
- SIGABRT when the parse_messages parameter equals to error. HOT 1
- Regression with Parallel hints combined with removal of indexes in Index hints HOT 10
- enable_self_join_removal in 17 breaks regression tests that use self-joins HOT 1
- Is it possible to inject each operator's cardinality by hint 'Rows' ? HOT 1
- Scan and Join hints do not work as expected HOT 6
- Installation of pg_hint_plan failed for Enterprise DB 14.x HOT 4
- pg_hint_plan whether support for hints for group by method(hash/sort)? HOT 1
- make hint relname comparison case insensitive HOT 1
- Tolerating preceding single-line comments HOT 3
- Hint to use a Nested Loop Semi Join HOT 1
- Improved repository description? HOT 9
- Cant get normalized text to work with pg plan hint HOT 2
- Maskout script doesn't work on macOS HOT 2
- Hint table doesn't seem to have effect on query plans HOT 7
- Hints do not work on subqueries with DISTINCT
- Next release of pg_hint_plan with PostgreSQL 17 compatibility HOT 27
- Query Errors if pg_hint_plan.enable_hint_table and enable_hint is enabled but hints table does not exist HOT 15
- Discrepancy in the costs of prepared operators depending on the architecture of the system HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pg_hint_plan.