-
Notifications
You must be signed in to change notification settings - Fork 142
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
Errors when using with Postgres 9.4 #99
Comments
Hi, i haven't tested on 9.4 yet, but this should not happen. Hopefully somebody else testing on 9.4 can give us more info. |
What info do you need? I'll try and get it. |
Try to clone this repo, follow the instructions (all the steps) on how to run the unit tests, and report any error. |
@frasergraham Some of my colleagues and I have run into a similar-sounding problem. Existing installations work fine (using Postgres 9.3 and 9.4), but those of us building new installations find that our tests break with the exact same For the two setups that broke, adding this to our settings fixed the problem:
That's from this warning in hstore doc: https://github.com/djangonauts/django-hstore/blob/master/doc/doc.asciidoc#14-limitations I feel pretty sure I followed the preferred method of installing hstore as described (i.e. installing it on BTW, I cloned the django-hstore repo and all tests pass for me. I would be interested to know if the setting above fixes your problem. |
@caktus-philip after having cloned the repo, do the test pass without adding |
I didn't have to use
FWIW I used |
I'm seeing errors using this library with Postgres 9.4. Is there a particular version of the HSTORE extension that I might need for this to work?
when accessing hstore fields in Django I get...
TypeError: string indices must be integers, not str
when using 9.4 but with the same code against 9.3 no issues.
The text was updated successfully, but these errors were encountered: