-
Notifications
You must be signed in to change notification settings - Fork 188
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
Check that prepared statements are working as expected. #76
Comments
Seems like there would be a problem if using prepared statements. |
Although:
I don't know much about prepared statements yet. [edit] I see, removing the quotes is the trick:
|
Yeah, the difference is that one is a function call evaluated during runtime, and the other one is a literal evaluated during prepare. If the problem can't be reproduced in Ruby, I'm guessing it doesn't do server-side prepared statements. The cast to timestamptz for |
Going through old issues and can't replicate this one. I suppose the switch to now() fixed it. Thanks, though! |
See #74.
The text was updated successfully, but these errors were encountered: