[ckan-changes] [okfn/ckan] a3a383: [#514] Do not use postgres concat function. Use ||...

GitHub noreply at github.com
Tue Mar 5 15:33:40 UTC 2013


  Branch: refs/heads/master
  Home:   https://github.com/okfn/ckan
  Commit: a3a3839541e2d5e77f01835a60a6bc8899d7ea20
      https://github.com/okfn/ckan/commit/a3a3839541e2d5e77f01835a60a6bc8899d7ea20
  Author: Dominik Moritz <domoritz at gmail.com>
  Date:   2013-02-28 (Thu, 28 Feb 2013)

  Changed paths:
    M ckanext/datastore/plugin.py

  Log Message:
  -----------
  [#514] Do not use postgres concat function. Use || instead. 
Concat is not supported in pg 9.0. The || syntax howver does not allow  null as one argument. So we use coalesce to either get the value or an empty string.


  Commit: 8d37013b440da3cf3f4b610dbce79312cb520ac4
      https://github.com/okfn/ckan/commit/8d37013b440da3cf3f4b610dbce79312cb520ac4
  Author: Vitor Baptista <vitor at vitorbaptista.com>
  Date:   2013-03-05 (Tue, 05 Mar 2013)

  Changed paths:
    M ckanext/datastore/plugin.py

  Log Message:
  -----------
  Merge pull request #514 from okfn/514-datastore-concat

 [2.0] Postgres 9.0 does not support concat


Compare: https://github.com/okfn/ckan/compare/c4cf21308a42...8d37013b440d


More information about the ckan-changes mailing list