-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't push down comparisons to 'now()' #18
Comments
This is something I would really like to see happening: not treating the Frankly, the current code to do this is quite ugly and only manages a I'll try to look a bit deeper into it, but I think it would need the
I don't really know what amount of work does that entail, but I'm convinced If I recall correctly, postgres_fdw does exactly that. You may look at it 2013/6/28 David Crawford notifications@github.com
|
I just pushed this to the master branch:
|
Since the code only pushes down quals that compare to
T_Const
,T_Param
, andT_Var
, it doesn't evaluatenow()
(aT_FuncExpr
) and push down as a constant. I don't know enough about PostgreSQL development to know if this would be easy or hard. I'm happy to contribute this feature if you can give me a starting point.The text was updated successfully, but these errors were encountered: