feat: Raise minimum supported version to 12.1

There is no reason to support the 12.0 version, which is outdated for
many years already. We still support all other minors for v12.
This commit is contained in:
Wolfgang Walther
2024-06-15 17:23:34 +02:00
committed by Wolfgang Walther
parent 7d2d363575
commit b38ea4dcd0
4 changed files with 85 additions and 101 deletions
+1 -5
View File
@@ -3,7 +3,6 @@
module PostgREST.Config.PgVersion
( PgVersion(..)
, minimumPgVersion
, pgVersion121
, pgVersion130
, pgVersion140
, pgVersion150
@@ -26,10 +25,7 @@ instance Ord PgVersion where
-- | Tells the minimum PostgreSQL version required by this version of PostgREST
minimumPgVersion :: PgVersion
minimumPgVersion = pgVersion120
pgVersion120 :: PgVersion
pgVersion120 = PgVersion 120000 "12.0" "12.0"
minimumPgVersion = pgVersion121
pgVersion121 :: PgVersion
pgVersion121 = PgVersion 120001 "12.1" "12.1"