Merge pull request #276 from digitalcircuit/fix-sql-postgres-newerthan