1. 19 Jan, 2017 1 commit
  2. 17 Jan, 2017 2 commits
  3. 16 Jan, 2017 2 commits
  4. 14 Jan, 2017 1 commit
  5. 09 Sep, 2016 3 commits
  6. 15 Jul, 2016 3 commits
  7. 11 Jul, 2016 1 commit
  8. 23 Jan, 2016 1 commit
  9. 12 Jan, 2016 1 commit
  10. 09 Jan, 2016 1 commit
  11. 05 Jan, 2016 2 commits
  12. 15 Dec, 2015 10 commits
  13. 05 Sep, 2015 1 commit
  14. 21 Aug, 2015 1 commit
  15. 15 Apr, 2015 1 commit
  16. 10 Feb, 2015 4 commits
  17. 28 Jan, 2015 1 commit
  18. 24 Jan, 2015 1 commit
  19. 12 Jan, 2015 2 commits
  20. 03 Jan, 2015 1 commit
    • Adrien Crivelli's avatar
      Do not TRIM() parentheses around partial index's conditions · f1f7c9a6
      Adrien Crivelli authored
      Because PostgreSQL will return the expression with a lot of
      parentheses we cannot TRIM() them easily. It is easier and more
      correct to adapt to what PostgreSQL returns. That means the declaration
      of partial indexes must be updated as follow:
      
      Before:
      ``options={"where": "other_id IS NULL"}``
      
      After:
      ``options={"where": "(other_id IS NULL)"}``
      
      And fore more complex conditions, that would be:
      ``options={"where": "(((id IS NOT NULL) AND (other_id IS NULL)) AND (name IS NULL))"}``
      f1f7c9a6