diff --git a/meta-oe/conf/include/ptest-packagelists-meta-oe.inc b/meta-oe/conf/include/ptest-packagelists-meta-oe.inc
index e09f902b9d..a0c5babd76 100644
--- a/meta-oe/conf/include/ptest-packagelists-meta-oe.inc
+++ b/meta-oe/conf/include/ptest-packagelists-meta-oe.inc
@@ -88,6 +88,7 @@ PTESTS_SLOW_META_OE = "\
     mariadb \
     pg-hint-plan \
     postgresql \
+    postgresql-hll \
     re2 \
     rocksdb \
     tbb \
diff --git a/meta-oe/recipes-dbs/postgresql-hll/postgresql-hll_2.21.bb b/meta-oe/recipes-dbs/postgresql-hll/postgresql-hll_2.21.bb
new file mode 100644
index 0000000000..5931554358
--- /dev/null
+++ b/meta-oe/recipes-dbs/postgresql-hll/postgresql-hll_2.21.bb
@@ -0,0 +1,17 @@
+SUMMARY = "HyperLogLog data type for PostgreSQL"
+DESCRIPTION = "postgresql-hll adds the hll data type to PostgreSQL, a \
+HyperLogLog structure that estimates the number of distinct values in a \
+set in a fixed, small amount of space. hll values can be unioned, so \
+distinct counts can be rolled up across rows and time ranges."
+HOMEPAGE = "https://github.com/citusdata/postgresql-hll"
+BUGTRACKER = "https://github.com/citusdata/postgresql-hll/issues"
+LICENSE = "Apache-2.0 AND LicenseRef-PD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=9c7d0689a58b17b7c30512a76e1550c2 \
+                    file://src/MurmurHash3.cpp;beginline=6;endline=8;md5=67a25e904793c309ec77324e0a86bb40"
+
+SRC_URI = "git://github.com/citusdata/postgresql-hll.git;protocol=https;branch=master;tag=v${PV}"
+SRCREV = "2ea763a879b129101eccd7a48639f8da7fbe2354"
+
+inherit ptest-pgxs
+
+EXTRA_OEMAKE += "SQLPP='${CPP} -x c -std=c11 -w -P -imacros ${STAGING_INCDIR}/postgresql/server/pg_config.h'"
