commit:     b906b4ed40b71a991a4f775ab8821c0595d3606f
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 26 11:43:21 2024 +0000
Commit:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Thu Sep 26 13:21:01 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b906b4ed

eclass/, profiles/: Enable PostgreSQL 17 support

Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>

 eclass/postgres.eclass              | 2 +-
 profiles/base/use.stable.mask       | 4 ++++
 profiles/desc/postgres_targets.desc | 1 +
 3 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/eclass/postgres.eclass b/eclass/postgres.eclass
index 9bf84fe13118..2c44358898e6 100644
--- a/eclass/postgres.eclass
+++ b/eclass/postgres.eclass
@@ -27,7 +27,7 @@ _POSTGRES_ECLASS=1
 # @DESCRIPTION:
 # List of versions to reverse sort POSTGRES_COMPAT slots
 
-_POSTGRES_ALL_VERSIONS=( 9999 16 15 14 13 12 )
+_POSTGRES_ALL_VERSIONS=( 9999 17 16 15 14 13 12 )
 
 
 

diff --git a/profiles/base/use.stable.mask b/profiles/base/use.stable.mask
index 93d8ee1913f9..9167592b9e10 100644
--- a/profiles/base/use.stable.mask
+++ b/profiles/base/use.stable.mask
@@ -4,6 +4,10 @@
 # This file requires eapi 5 or later. New entries go on top.
 # Please use the same syntax as in use.mask
 
+# Patrick Lauer <[email protected]> (2024-09-26)
+# Postgresql 17 isn't stable yet
+postgres_targets_postgres17
+
 # Sam James <[email protected]> (2024-09-18)
 # LLVM slots without stable keywords.
 llvm_slot_19

diff --git a/profiles/desc/postgres_targets.desc 
b/profiles/desc/postgres_targets.desc
index d40f508181cc..7e18a89e66d0 100644
--- a/profiles/desc/postgres_targets.desc
+++ b/profiles/desc/postgres_targets.desc
@@ -8,3 +8,4 @@ postgres13 - Build against PostgreSQL 13
 postgres14 - Build against PostgreSQL 14
 postgres15 - Build against PostgreSQL 15
 postgres16 - Build against PostgreSQL 16
+postgres17 - Build against PostgreSQL 17

Reply via email to