(Quit on unsupport PostgreSQL version) Database connection error Retrying the connection #2904
-
Environment
Description of the issuegetting database connection error, shared my postgrest.conf file as well I installed PostgresDB and install postgrest and setup postgrest.conf and tried to connect postgrest.confdb-uri = "postgres://postgres:postgres@host:5432/my_db" |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
We only support PostgreSQL 9.6 and up, see https://postgrest.org/en/stable/explanations/install.html#supported-postgresql-versions. PostgreSQL only started supporting JSON functions since 9.3, so 7.4 is unfeasible to support. I'm surprised we're not responding with an error though, we have: postgrest/src/PostgREST/AppState.hs Lines 337 to 343 in 87d6a0d We could bring back pg 9.5 (#2038) to be sure we test the above. |
Beta Was this translation helpful? Give feedback.
-
Sorry my bad, i am using 15.3 |
Beta Was this translation helpful? Give feedback.
As per your error message,
host
seems incorrect below:I suggest to try and connect with regular
psql
, then use the same connection string for PostgREST.