Comments (7)
I have tested with the PG master regression test. Several tests failed because of the NOTICE and WARNING in the extension, disabling them fixed the 'regressions'.
Does it comfort you? :)
from pg-magicplan.
Well, did you force magic plan? :)
from pg-magicplan.
I did not have to, it triggered for some plans, not for others… so it seemed good to me.
from pg-magicplan.
So it may have not triggered for some plan, and so not tested? The risk is some day it trigger for not tested case?
from pg-magicplan.
It can not trigger for a request that has no EXISTS subquery…
from pg-magicplan.
Tell me if I am wrong how pg-magicplan works. I understand when it sees a query with EXISTS subquery it plans two statements, one with original query, one with OFFSET 0
injected. Then it compare cost and choose to execute the cheapest one.
As we can't know early which plan it will choose, we can't know how PG will behave with OFFSET 0
injected in regression tests. Sometime it will use it sometime no... That's why I propose to force plan with OFFSET 0
in all circumstances for the tests only.
from pg-magicplan.
No I can't. There may be several possible places to inject offset 0, there may be no sublink...
from pg-magicplan.
Related Issues (2)
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-magicplan.