-
Notifications
You must be signed in to change notification settings - Fork 107
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
[Site Bug] Issue with the page: /api/latest/hypertable/set_integer_now_func/ #2804
Comments
@jonatas could you suggest a improved example for https://docs.timescale.com/api/latest/hypertable/set_integer_now_func/#sample-usage please. |
Hi @Splarv, thanks for the comment, I think we have reasons why it needs to be immutable. Here's an example of query plan slowing down issue that can help you understand.
About the "important", I'd love to involve @mkindahl here, to share more technical details that can enrich the conversation and later the docs 🤓 |
Quickly sorting through the different issues here:
|
Hi, |
Why in example you create the function with attribute IMMUTABLE? And with "Important" that this will incorrectly work. The function that return current time always will be not IMMUTABLE (return value depend only on arguments). It will be STABLE (if this time from the begin of a transaction) or UNSTABLE (if this time is very current). And in documentation must be said what varian is correct.
The text was updated successfully, but these errors were encountered: