subzerocloud / postgrest-starter-kit

Starter Kit and tooling for authoring REST API backends with PostgREST
MIT License
744 stars 71 forks source link

Support PostgreSQL10 #41

Closed octaltree closed 6 years ago

octaltree commented 6 years ago

Hi,

PostgreSQL 10 improves interesting features. PostgreSQL: PostgreSQL 10 Released

postgrest says

PostgreSQL version 9.5 or greater is required

Would you update docker-compose.yml and test?

  db:
    image: postgres:9.6
    ports:
      - "5432:5432"
ruslantalpa commented 6 years ago

you can try changing it and see how it works, 99% it will work with 10

ruslantalpa commented 6 years ago

there was a recent PR dealing with some pg10 incompatibilities https://github.com/PostgREST/postgrest/pull/1188 the only area where one could potentially encouter problems with pg10 is when automatically creating migrations with subzero-cli (apgdiff), other that that you are safe to use pg10