diff --git a/dev-db/postgresql/metadata.xml b/dev-db/postgresql/metadata.xml
index 9948dcbc6e2ab..dcd5555ebe2f8 100644
--- a/dev-db/postgresql/metadata.xml
+++ b/dev-db/postgresql/metadata.xml
@@ -9,6 +9,9 @@
Add support for llvm JIT engine
+
+ Add support for NUMA
+
Enable OAuth2 authentication support
diff --git a/dev-db/postgresql/postgresql-9999.ebuild b/dev-db/postgresql/postgresql-9999.ebuild
index fdfe4c333e470..2447d33b31597 100644
--- a/dev-db/postgresql/postgresql-9999.ebuild
+++ b/dev-db/postgresql/postgresql-9999.ebuild
@@ -27,7 +27,7 @@ else
S="${WORKDIR}/${PN}-${MY_PV}"
fi
-IUSE="debug doc +icu kerberos ldap llvm +lz4 nls oauth pam perl python +readline
+IUSE="debug doc +icu kerberos ldap llvm +lz4 nls numa oauth pam perl python +readline
selinux systemd ssl static-libs tcl test uring uuid xml zlib zstd"
REQUIRED_USE="
@@ -50,6 +50,7 @@ llvm? ( $(llvm_gen_dep '
llvm-core/llvm:${LLVM_SLOT}
') )
lz4? ( app-arch/lz4 )
+numa? ( sys-process/numactl )
oauth? ( net-misc/curl[adns] )
pam? ( sys-libs/pam )
perl? ( >=dev-lang/perl-5.14:= )
@@ -170,6 +171,7 @@ src_configure() {
$(meson_feature llvm)
$(meson_feature lz4)
$(meson_feature nls)
+ $(meson_feature numa libnuma)
$(meson_feature oauth libcurl)
$(meson_feature pam)
$(meson_feature perl plperl)