[ckan-changes] [ckan/ckan] a25974: [#1879] Set DataStore to legacy mode when using Po...
GitHub
noreply at github.com
Tue Aug 12 09:57:47 UTC 2014
Branch: refs/heads/1879-datastore-legacy-mode
Home: https://github.com/ckan/ckan
Commit: a259742f147a4a0809ffc0bd1a687e43f8e53785
https://github.com/ckan/ckan/commit/a259742f147a4a0809ffc0bd1a687e43f8e53785
Author: amercader <amercadero at gmail.com>
Date: 2014-08-12 (Tue, 12 Aug 2014)
Changed paths:
M ckanext/datastore/plugin.py
M ckanext/datastore/tests/test_unit.py
Log Message:
-----------
[#1879] Set DataStore to legacy mode when using PostgreSQL < 9.x
Up until now the user had to actively set legacy mode when running PG
8.x, and if not you could end up with the full datastore running on an
old postgres version. Features like the SQL search are not properly
supported on these versions, so we need to explicitly disable them when
running on PG 8.x, by setting `legacy_mode` to True.
The current behaviour is that legacy mode will be activated if
`ckan.datastore.read_url` is not present in the configuration and/or
postgres < 9.x.
More information about the ckan-changes
mailing list