-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Postgresql 8.4 error when running paster db init #542
Comments
Hi @thriuin, This is related to #514. I've added a patch in the comments, at #514 (comment), that solves this issue. @domoritz created a patch of an issue that you will have down the line. Could you apply both patches and try to run the tests under Postgres 8.4? Cheers! |
Thanks! I will test the patches on Monday morning when I have access to the RHEL environment again, |
Hi @vitorbaptista, I have tested and can confirm these patches allow the paster db init to work on Postgres 8.4 Thanks! |
…left [#542] Remove usage of postgres' function that's not available in < 9.1
The function left() was only added in Postgres 9.1, but we can easily use substr() to achieve the same effect. Fixes #542.
When running the paster db init command with the CKAN 2.0 beta, there is an error encountered that appears to be related to use of the left() string function in ckan/migration/versions/067_turn_extras_to_strings.py. According to the documentation and my own simple test, this function is not support in Postgresql 8.4. For a stack trace, see: https://gist.github.com/thriuin/5067819.
Is there a new minimum version of Postgresql required -- documentation still says 8.4 which unfortunately is what comes with RedHat Enterprise.
The text was updated successfully, but these errors were encountered: