Closed mwhooker closed 11 years ago
The issue is fixed, I think, but I did not manage to write a test - maybe you can suggest how can I set NULL datestyle in postgres?
@lopuhin I can verify that this has been resolved. Unfortunately, I'm not sure what you mean by a NULL datastyle.
thanks very much for your quick response!
Thank you! The error was that libpq returned NULL when queried about current date style - this is the setting described here http://www.postgresql.org/docs/9.1/static/runtime-config-client.html - but I think that generally date style is not null. Are you fine with using github version for now? I can make a minor release if it is more convenient for you.
Thanks for clearing that up. For what it's worth, this is the result of show datestyle
in redshift
show datestyle;
datestyle
-----------
ISO, MDY
(1 row)
weird that it's reported as NULL.
I'm fine using the github version. It'll be a couple more weeks before I need to use this in production.
Thanks again.
I installed psycopg2cffi from git.
When I tried to connect to my redshift database, I got this error.
I am able to connect using psycopg2 just fine.
Please let me know if I can provide more information.