@@ -88,6 +88,7 @@ PTESTS_SLOW_META_OE = "\
mariadb \
pg-hint-plan \
postgresql \
+ postgresql-hll \
re2 \
rocksdb \
tbb \
new file mode 100644
@@ -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'"
postgresql-hll adds a HyperLogLog data type to PostgreSQL for approximate distinct counts. Signed-off-by: Babanpreet Singh <bbnpreetsingh@gmail.com> --- .../conf/include/ptest-packagelists-meta-oe.inc | 1 + .../postgresql-hll/postgresql-hll_2.21.bb | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 meta-oe/recipes-dbs/postgresql-hll/postgresql-hll_2.21.bb