From patchwork Sun Dec 6 18:44:11 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Babanpreet Singh X-Patchwork-Id: 107561 Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.704.1796582662440287650 for ; Sun, 06 Dec 2026 10:44:22 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=yfoxNasD; spf=pass (domain: gmail.com, ip: 209.85.214.182, mailfrom: bbnpreetsingh@gmail.com) Received: by mail-pl1-f182.google.com with SMTP id d9443c01a7336-2f02b9c1f6fso17027495ad.0 for ; Sun, 06 Dec 2026 10:44:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796582662; x=1797187462; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=qNWnkOOoUMs5zH0iZGR/EX5qXOVpP6OOcEPHIOvNilg=; b=yfoxNasDw1DNQXUQC2Ka1Hr+kthdNrkuTPpXBniRG+oJprVywcwmjaSxEY50gtkcxI GzaseBamJprHwPxmRdT6LECk4vf7yjuLUxr+AnJywH5l/vPBx+wIVIFHsu+pktrZQMNY b0aJinJohY0AIPF7FnitBtVybHBFNUHO528F1eWHga8o+qC/sMyosHxQo4uiiEu05PTb NX9t8PZregeIE16gPvPjwysvUfdUWYsRX2C0y5Yum4MZErC+7fhMpI5ortg71+999SZR DxiIzqSmmLBv7rvYR0DVOKCHIb2nxmQp8hVAXfZt3ZANiqWfh89A9rKfQa5uuYRn6Q0Y rOIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796582662; x=1797187462; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=qNWnkOOoUMs5zH0iZGR/EX5qXOVpP6OOcEPHIOvNilg=; b=gCkAR375LJOcxp3Ro2GA8bZwHLlatB3n34YSprR4M7mFsgevVhHRtkVxLTa7RYOSJa y+1s5MlNU56LK6IermSeeUe3q44vnV98a+eO7tWhOx/V6s0Abiv2wRFbhYHNfJ6Wp6h3 +E43SCOC9fJQ8wb9di7dqduz7a6rTwjegW0ZUQ0V7D+leUY+eQCU4lRgLILbtea/SDrQ jc5bjwADP6GhMSTf0jJxlrjq5WyNk8azpklf7HX9V6QklnBsYZ6tCFfiRg8cDM37ttrb lDHKA62jtZcCY0fZ9DLYZHuWUJUJQQVtWWnmqtIMlM73Ms0xYQbBYNIz/q2SCMLczqCZ 5+eg== X-Gm-Message-State: AB4q+uGBNfEi7v+GAXWhCzmR7D6O13TiJ5sfd5BnrS4MNDaESbG0vmP8 5l7RvEYOh8sMUMypUpIrkMa3t3g75sn5ohtsKlKLDnB0RtyXMd8J+RsDn5FWHniD X-Gm-Gg: AZFdTZeY7W6CK5K9eoBym+jBSJFmlHV1Fu/tqqDgye0dxlhJa54fiqCCbSujksjOp30 1gOdXVTmCB6DD93UYZYMSDWQHh/yEwESAghQK2bRugHjdKFQXRMn9YL8VCSggK+2/4NFz6eajuY quclgF3KyVPEy/evDyi8ojiwjr6gkWS0DQTaGuLDRKb1/CNazwfW2URqICGCxN6Iv3OtAQJJvr5 /s+/XCQxss/E3Ap/VEf0N0BY9vw/wdbi+Q5vDP4LYIXTZElC48OvuAy13p9FpCv2ckTl1DD1sNl xkqWHPgePB38xYl0935/96dsC30ooc4NIKcI1G2dxH5B4oSp+oM4rPKMJqeP95nWu+DMC51dSNd ryUwwY+EINxWv5I4y58qBOuMNjSK6jOJ6O1XQKj/TyvgAiNc/DkwGJ7Yjs6WeHbogZCSZ7XlwHF M2+gUeT+l+szMtPzYhTQPpc8bCQ3BY6RgO5dQD+pjGG7Y4oI3/cI8mvq3m26Loo2DCaGdpK6iCB tESPdrZeTRlsPLUcA7WaaWKyVgcSQSngJtual9HtaYaQXvifrFjzvuUn8fmuaYlVSMssrPV87Jt LtcWdM7OB5rfgNXqW6gPrczknzaHvvSNTqIbRHUUPFdk0z2/Dl1mzI9u/LC9xXk= X-Received: by 2002:a17:903:2b0f:b0:2f1:6b63:150a with SMTP id d9443c01a7336-2f1ba28158bmr58778025ad.20.1796582661733; Sun, 06 Dec 2026 10:44:21 -0800 (PST) Return-Path: Received: from localhost.localdomain ([108.180.159.198]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2f1b791c626sm36011495ad.35.2026.12.06.10.44.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 06 Dec 2026 10:44:21 -0800 (PST) From: Babanpreet Singh To: openembedded-devel@lists.openembedded.org Cc: Khem Raj , Babanpreet Singh Subject: [meta-oe][PATCH 1/8] hypopg: add recipe Date: Sun, 6 Dec 2026 18:44:11 +0000 Message-ID: <20261206184418.7-2-bbnpreetsingh@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20261206184418.7-1-bbnpreetsingh@gmail.com> References: <20261206184418.7-1-bbnpreetsingh@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Sun, 06 Dec 2026 18:44:27 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/134153 HypoPG adds hypothetical indexes to PostgreSQL. Signed-off-by: Babanpreet Singh --- meta-oe/conf/include/ptest-packagelists-meta-oe.inc | 1 + meta-oe/recipes-dbs/hypopg/hypopg_1.4.5.bb | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 meta-oe/recipes-dbs/hypopg/hypopg_1.4.5.bb diff --git a/meta-oe/conf/include/ptest-packagelists-meta-oe.inc b/meta-oe/conf/include/ptest-packagelists-meta-oe.inc index 09f78517e3..1a498d0370 100644 --- a/meta-oe/conf/include/ptest-packagelists-meta-oe.inc +++ b/meta-oe/conf/include/ptest-packagelists-meta-oe.inc @@ -25,6 +25,7 @@ PTESTS_FAST_META_OE = "\ gcab \ googletest \ hunspell \ + hypopg \ imagemagick \ jemalloc \ jq \ diff --git a/meta-oe/recipes-dbs/hypopg/hypopg_1.4.5.bb b/meta-oe/recipes-dbs/hypopg/hypopg_1.4.5.bb new file mode 100644 index 0000000000..a1fa8892ba --- /dev/null +++ b/meta-oe/recipes-dbs/hypopg/hypopg_1.4.5.bb @@ -0,0 +1,13 @@ +SUMMARY = "Hypothetical indexes for PostgreSQL" +DESCRIPTION = "HypoPG adds hypothetical indexes to PostgreSQL. A \ +hypothetical index costs no CPU or disk to create, and EXPLAIN shows \ +whether the planner would use it for a query." +HOMEPAGE = "https://github.com/HypoPG/hypopg" +BUGTRACKER = "https://github.com/HypoPG/hypopg/issues" +LICENSE = "PostgreSQL" +LIC_FILES_CHKSUM = "file://LICENSE;md5=fd5e330374c6705d84fcf650c9daaa1b" + +SRC_URI = "git://github.com/HypoPG/hypopg.git;protocol=https;branch=REL1_STABLE;tag=${PV}" +SRCREV = "9ab5c4fd3701b14ca3c996da360bba9fa5e9b970" + +inherit ptest-pgxs From patchwork Sun Dec 6 18:44:12 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Babanpreet Singh X-Patchwork-Id: 107562 Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.705.1796582663556187210 for ; Sun, 06 Dec 2026 10:44:23 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=wPTWNWsS; spf=pass (domain: gmail.com, ip: 209.85.214.182, mailfrom: bbnpreetsingh@gmail.com) Received: by mail-pl1-f182.google.com with SMTP id d9443c01a7336-2f05b465cd1so17587465ad.3 for ; Sun, 06 Dec 2026 10:44:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796582663; x=1797187463; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=AOJNNVEt3cLZVpF6/8zGoEuL99rraqRNI57GzKcQq1Q=; b=wPTWNWsSNOJz9oUDlA/zOTFSDaQTj0uOET103AmNFfdpdodw0hC0Q5G6x3RZVId9jH 3Xt2vU5BAJbssFvXhrutr8EpQEzDLeLlg9ur+Qsqd/hiJh4zcksAQcOwUgiMfe7WA74N NkuJtwgd0sR2EdN7UlG8SCKUXByJqqmKOme0QNGUDjhnrqvESoI3MleKoNP1xILoRn0T 5nDBPOMfjuUIz9bAz4GVdNTbS1H5IycirQtMyWbJqBjmUq+a9oQsD9EPB9fU70bPe5N1 mjsyuiLKaUxtyurAX4nK+uMgRBMuyiuZxQE+IGutfQgMpQ/LscVx/0qzXU8n8qSeZXqT qGRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796582663; x=1797187463; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=AOJNNVEt3cLZVpF6/8zGoEuL99rraqRNI57GzKcQq1Q=; b=SUAFa8FFWJNneQE8GPkzcv9Gaf/eNKIodO0VToZ71dXoVQy6VK4BxhZMiDXIWVGL5x Q5sK9ja85hRmdGU6hAdraVZpkBWepN+/lUnvDfUQ/jqEd4bgP9RXY/QNc2iN/n0OogY4 r1wOl+BNRBnJ+w7N4/8fib/nYYbjtYhxw4Uj545QCQ6TXHH6ZCq+NM04hKOWbmdYg6jD kty5uaomfHoKigrUs9WFmurzZao/hjdWCWZD0yCfJZRo8SVpV/T2IkNrCUPyBkveyvlf yIoZ3HzwrHXLr+tA0E1btRBaAQbzKgqpEzSMFChf9d9UGYejYLisRsLKBRcTWBvZW56I 6KGg== X-Gm-Message-State: AB4q+uF3jmOk0nxDoM/j9W1O655GmQno4vkR4BkWDraoedWanU7W6Zqo tZvUVo4eQJjm4Qo03u/uAFoAe0fXMT374yFZiKRSjQYHTS3P9LsLB5mk4C6NyHxW X-Gm-Gg: AZFdTZfdQ+dEaUIpDU6Mg2i+z9ytRkigs1PVuUOD9sY20sDe1k2IYNWditHsz7XoRAM cFlwn+l4swKPhxDvIFBZ6owlTYlPmw1KPkAXIuSNWaZUjJWyyqUQoM23iuCy9Orobq09xX1Spxx pOll8IuGUx5k74HLoH9tXlMYY+gpJ8YpHAjb1v2/dEsBu6hgT3y1OABbP62W+DPDKcc61Ys5Uy2 8k4SRysMdb7LyZgcoq+5cW4q2W/wl5gofPZuaL/+ZUgM7WIYhaN6FR0McRqpoGkg4T5SzyLMYly uJUj/h8JWhrKLo7X8FTUG+qqU0+IP9GajRZSyZzt1gkbGhnP75xZyDPfwlwI0YHzr4a4W0zNCrD 02oFO4DD+QZQJvtlSa3sHRRIGmdp1ia40fwOlDKLZ/VcREmLekFeymxgMo1CHYAxlW64eHsXaLS c8tMAifGhjqrLKNDroqNJH2x0EKqRNXxKqwJxwotWGp+paxX+wooDvOOPgP5eP7rwzQGB2NEo4X LctmDg3RCcQC+LLWd+OsGpNBjQFRCMygK5uehGqsVmrF2IBVWhlShjkpYA9W8RSsWdRRbf5Px1Y CV5ozWz7ymsegmoERQwzueBHtsIOIFOcFHGOPWaTjrFemeLkGSIZag0TX8FDYxE= X-Received: by 2002:a17:902:e845:b0:2f0:21d5:7cc0 with SMTP id d9443c01a7336-2f1ba1f0437mr83749505ad.41.1796582662841; Sun, 06 Dec 2026 10:44:22 -0800 (PST) Return-Path: Received: from localhost.localdomain ([108.180.159.198]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2f1b791c626sm36011495ad.35.2026.12.06.10.44.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 06 Dec 2026 10:44:22 -0800 (PST) From: Babanpreet Singh To: openembedded-devel@lists.openembedded.org Cc: Khem Raj , Babanpreet Singh Subject: [meta-oe][PATCH 2/8] pg-hint-plan: add recipe Date: Sun, 6 Dec 2026 18:44:12 +0000 Message-ID: <20261206184418.7-3-bbnpreetsingh@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20261206184418.7-1-bbnpreetsingh@gmail.com> References: <20261206184418.7-1-bbnpreetsingh@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Sun, 06 Dec 2026 18:44:28 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/134154 pg_hint_plan adds planner hints to PostgreSQL. Signed-off-by: Babanpreet Singh --- .../include/ptest-packagelists-meta-oe.inc | 1 + .../pg-hint-plan/pg-hint-plan_1.9.0.bb | 23 +++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 meta-oe/recipes-dbs/pg-hint-plan/pg-hint-plan_1.9.0.bb diff --git a/meta-oe/conf/include/ptest-packagelists-meta-oe.inc b/meta-oe/conf/include/ptest-packagelists-meta-oe.inc index 1a498d0370..a52334e6e7 100644 --- a/meta-oe/conf/include/ptest-packagelists-meta-oe.inc +++ b/meta-oe/conf/include/ptest-packagelists-meta-oe.inc @@ -83,6 +83,7 @@ PTESTS_SLOW_META_OE = "\ jsoncpp \ libusb-compat \ mariadb \ + pg-hint-plan \ postgresql \ re2 \ rocksdb \ diff --git a/meta-oe/recipes-dbs/pg-hint-plan/pg-hint-plan_1.9.0.bb b/meta-oe/recipes-dbs/pg-hint-plan/pg-hint-plan_1.9.0.bb new file mode 100644 index 0000000000..f43caaa26d --- /dev/null +++ b/meta-oe/recipes-dbs/pg-hint-plan/pg-hint-plan_1.9.0.bb @@ -0,0 +1,23 @@ +SUMMARY = "Planner hints for PostgreSQL" +DESCRIPTION = "pg_hint_plan lets a query carry hints in a special SQL \ +comment that tell the PostgreSQL planner which scan methods, join methods \ +and join order to use. Hints can also be stored in a table and matched to \ +queries by query ID." +HOMEPAGE = "https://github.com/ossc-db/pg_hint_plan" +BUGTRACKER = "https://github.com/ossc-db/pg_hint_plan/issues" +LICENSE = "BSD-3-Clause AND PostgreSQL" +LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=54c687e5cf7a79aeee1e9e0d18c3bf2b \ + file://COPYRIGHT.postgresql;md5=b961de42bc88612f4beb10259b1f8f00" + +SRC_URI = "git://github.com/ossc-db/pg_hint_plan.git;protocol=https;branch=PG19;tag=REL19_${@d.getVar('PV').replace('.', '_')}" +SRCREV = "4d3e9164dc2dc1b10dfe0c5e7a3cfe7983a8688d" + +UPSTREAM_CHECK_GITTAGREGEX = "REL19_(?P\d+(_\d+)+)" + +inherit ptest-pgxs + +DEPENDS += "flex-native" + +PTEST_PGXS_CONF = "shared_preload_libraries = 'pg_hint_plan'" + +RDEPENDS:${PN}-ptest += "hypopg postgresql-contrib" From patchwork Sun Dec 6 18:44:13 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Babanpreet Singh X-Patchwork-Id: 107563 Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.674.1796582664995927432 for ; Sun, 06 Dec 2026 10:44:25 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=Rqqa9UcN; spf=pass (domain: gmail.com, ip: 209.85.214.174, mailfrom: bbnpreetsingh@gmail.com) Received: by mail-pl1-f174.google.com with SMTP id d9443c01a7336-2f04e3bf46dso23793935ad.2 for ; Sun, 06 Dec 2026 10:44:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796582664; x=1797187464; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=NabIh59bZhQ3KbTQG8CtM6QmhfYbobQSjBSw6pP+v88=; b=Rqqa9UcNQJn4y/QOH0j7gTTn5R9U9mJFUDI58m+K+uc3NyjUptNYDxO5Z27SjHEwdq Jn0dbGNfz8cNrbEoZe09qntSgYHLneUyO1qac3nQktXvHpP0wC35mxjd1RANOHLVvRo6 cVD8BQ3JIdoDAt1NfDFelAZgrdyrs8NCrkELLQARXcDtrYzM1rjpCpovjDOScFlswabj vwRv7KWGX2PBrWg41YQK1Ca1tmXHmSyQZf0dKurZFB1JCaBZc+qEFbZux3gJchZrqcfF Rib8zlvhUTkt13fsmUuJaqHtFzzsCJTgpmBkbPUwuEUwxwYhA224Rv4RgUrbC2PM3xGj /E/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796582664; x=1797187464; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=NabIh59bZhQ3KbTQG8CtM6QmhfYbobQSjBSw6pP+v88=; b=u+6J6bnltkK/tjH1xfyPasq5vmgTColyk+hd8cs2fg6fXL25mwzBq3WvMOCzxlv01v SQpkHZDq1hVxOPu4AeblTVsfbU4hjCa6CWN3pnhFmNXZKHCHjL13Q+YR3HrOVdVoVo2Q LmQv4RxUFNhsR7sy4g82Cvx9YQx9GZWqF7b1Eyd9ghCTP+U4y4WHOJuBKjQxIdOV1l/S U84Xcsa9s/LV75ui7a3guY8Y6ZN1A4O5CceNtRblZVBtVy7CKorX8FD729T410Wdoti9 XaSHBKZQWAzz0Ci6vzcKmiSTS1MHtjJQsgPPZPs+WgMK/kSp/qPVtzAN6vgiY7VGL4+7 7+dg== X-Gm-Message-State: AB4q+uE5cpB31i3unv2Tep12YNxKcRMDcv0AkvYBSPNfElqdpEtDrlO0 mSS5FvPmAOzfs6zZUzjlwZqxIhPsO4m+0RJtsI5V9RpVD02iJ7hPRVoxbYIUaw7U X-Gm-Gg: AZFdTZeN48kXidgmbk7wWjfHn2fzadai/c/MCsSD5M6leP8Y95uf7hlmEMESe4+YFW5 GrtzD93gmi/hA3VHj0HD/7JjACNuGNPR6zG65skqLE9cxjm+y19pCwO6cYEbLriwPrFEFZiPhz0 hgxLb5YydXiuNb/LHD95u0hRHWC2+KPWLCMtHRhBAfwPc4meRClkhBndT+J5toFjqzLUpscPYea NGKovZsx+ECn2w+43wAIlHLM8QJhKh5yj5XJUu2pUSHw9Bll273F71wOoozTGdsrb01Ww1qaoLW 2oGQ+4wBXx2P82KoE+GjOF6sX95seJFjP5TEaZO4sjJ255wwIoTBUKfPcD21jxBEowH93KT/gXi GmY3TzVRLTfjGnmTBxH1OQXIScAgqaVuS+utFieKNHj/OYBRuvSgC4hzgmSHeU5gImXraUXG4fw zDxnj1eUST7EjaGF7wclrximpJPMd6YpFG1D2yyTHz1e9T8MNoVzCdrzpQWZw531oTBjD3UrzuP zDY6kTCGpD18YzNGdCOW6jvev076LsTj+x/Phuvdp9LP2TXPgy+5PlPtPvDZMHedN4JpSabUOkg 3KcUawKlHSRgKKrQ5jwytXUgig6K1eNJR3c2vyq2CcRmOTatieJ0GqS+TnRQHOM= X-Received: by 2002:a17:903:b0d:b0:2ef:e32d:f476 with SMTP id d9443c01a7336-2f1ba13235emr83590185ad.10.1796582664299; Sun, 06 Dec 2026 10:44:24 -0800 (PST) Return-Path: Received: from localhost.localdomain ([108.180.159.198]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2f1b791c626sm36011495ad.35.2026.12.06.10.44.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 06 Dec 2026 10:44:23 -0800 (PST) From: Babanpreet Singh To: openembedded-devel@lists.openembedded.org Cc: Khem Raj , Babanpreet Singh Subject: [meta-oe][PATCH 3/8] ip4r: add recipe Date: Sun, 6 Dec 2026 18:44:13 +0000 Message-ID: <20261206184418.7-4-bbnpreetsingh@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20261206184418.7-1-bbnpreetsingh@gmail.com> References: <20261206184418.7-1-bbnpreetsingh@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Sun, 06 Dec 2026 18:44:28 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/134155 ip4r adds IPv4 and IPv6 address and range types to PostgreSQL. Signed-off-by: Babanpreet Singh --- meta-oe/conf/include/ptest-packagelists-meta-oe.inc | 1 + meta-oe/recipes-dbs/ip4r/ip4r_2.4.3.bb | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 meta-oe/recipes-dbs/ip4r/ip4r_2.4.3.bb diff --git a/meta-oe/conf/include/ptest-packagelists-meta-oe.inc b/meta-oe/conf/include/ptest-packagelists-meta-oe.inc index a52334e6e7..a8a66eb92b 100644 --- a/meta-oe/conf/include/ptest-packagelists-meta-oe.inc +++ b/meta-oe/conf/include/ptest-packagelists-meta-oe.inc @@ -27,6 +27,7 @@ PTESTS_FAST_META_OE = "\ hunspell \ hypopg \ imagemagick \ + ip4r \ jemalloc \ jq \ lcms \ diff --git a/meta-oe/recipes-dbs/ip4r/ip4r_2.4.3.bb b/meta-oe/recipes-dbs/ip4r/ip4r_2.4.3.bb new file mode 100644 index 0000000000..363324e90e --- /dev/null +++ b/meta-oe/recipes-dbs/ip4r/ip4r_2.4.3.bb @@ -0,0 +1,13 @@ +SUMMARY = "IPv4 and IPv6 address and range types for PostgreSQL" +DESCRIPTION = "ip4r adds the data types ip4, ip4r, ip6, ip6r, ipaddress \ +and iprange to PostgreSQL for single addresses and address ranges, with \ +GiST index support for containment and overlap searches." +HOMEPAGE = "https://github.com/RhodiumToad/ip4r" +BUGTRACKER = "https://github.com/RhodiumToad/ip4r/issues" +LICENSE = "PostgreSQL" +LIC_FILES_CHKSUM = "file://LICENSE;md5=8ddb8314ff6553bc394f4a394c3bb935" + +SRC_URI = "git://github.com/RhodiumToad/ip4r.git;protocol=https;branch=master;tag=${PV}" +SRCREV = "261341b1a4119226d22c2758f38bf63ac9e3a446" + +inherit ptest-pgxs From patchwork Sun Dec 6 18:44:14 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Babanpreet Singh X-Patchwork-Id: 107564 Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.181]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.675.1796582666013398023 for ; Sun, 06 Dec 2026 10:44:26 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=nmFqtWGA; spf=pass (domain: gmail.com, ip: 209.85.214.181, mailfrom: bbnpreetsingh@gmail.com) Received: by mail-pl1-f181.google.com with SMTP id d9443c01a7336-2f0213202fdso14447225ad.3 for ; Sun, 06 Dec 2026 10:44:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796582665; x=1797187465; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=gU9PiiTQtoxbW+Jac9ZA9sBxAgWplMWpTDpinA1wzSY=; b=nmFqtWGAXmawTLEAzn7byzKewBphJ06viWM6Py61J7EQlTzz9hAaF3O9xKKSlqWJFM Yk1pbnkpp+vcXUFnG1F05kMkZO5XCwHHKB0hdahJMrqRVeKe6xM/LBj0fyqaHlRcrGan 5bazSEYbgmrUaW5fRCOhIjq5kzA+xWOTceCdhNswC6ehR0y4Ooq7WR97HDwvobxrtYYc JM1qEuEpapzs4NoF3wXk0Wjq8zLF+mYrVHqhw2TE4sWUnrYuu+q2hnR+PNZODe48mt5Y Qidj6hzJ0evpaNiTKkmXEEp6h9mq9qeL2qdgFtf1YAMmG2f1c3uOTazDjdRKtuNiFA+K btTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796582665; x=1797187465; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=gU9PiiTQtoxbW+Jac9ZA9sBxAgWplMWpTDpinA1wzSY=; b=TL9cwb7B5+teLNQtZ2qOtRuCnG+eXvtoqOMCyOeEwCXUltsT5t0S0GVAB3IxmEjeyu oaOhCzhnOCef7vmEkNTCCY3gsIxuLIQxhKqKBHZA7djMPOZsQux+H1Fi1dsyf3HDlW7H L/SqKEwdjOPFfiRvTJjtJg3GW5fVs6hQ725GYaDuYwqJ4tH6iUtIjwz0MeF2y9kUX4dt SZEdLd4Ec2DFUt8xeZVQTZtYXmsr+zqjwAa6rT39AEdQXEEWcEtdIEa3CwUsWynBwyuq k9EQK9LDU/H/iK7fWDbLUGI/R56AU7t4VKA8BypviLvf64t7Kk40wrmCDYpV0fh5YZ3S c4vw== X-Gm-Message-State: AB4q+uE4QH/WdYQHQSo70tVsJep3//58LkM3u63gqOkEPBJQIZl1rO9f eF8A+34QySqOvMEcbn6C//VYAmV29uzc3eEirtPM+LVlH+rDD3UuP8YtNyQ4EBnz X-Gm-Gg: AZFdTZfSGa6JWffoDxXA5bXQVwiheVI1aVe10Bg7tRWvdTtuSvy25X0FqRtYYVFoc5j r4bg022yBezLj8yKzCYuAmTCz1Xk+tbziSETvg8eGUtVWmzs6H0SH/OgPwJj9YEmCxkl3W84M98 Qm42CDeXtCg5tnhp57LLG/BLG5pVJ0jyXvDmJb9kPuTI0ZCG3OIvrX8DbT4NvkjgsxA+ueX9cBr qAc2GrmgGC4ladQgE+W1wSLHUH8f5sRZkjhSPDPyIiAirvuGeIP3ZFVHhrJKdMNQ6rFtMM4b8gS sHPjWBfAY62I3RX69iEnDTmgLqFTxWykbQhIcHnPLrO5k+TykcexauEyAfyDO4vr8psOd3w9boJ lI1S2gVBPxapdavZjd8Ii4NJhoZXhlypN+LyYI+gIff+4vG1+5Uqp5ftYjjbBgKcTH1G6EOS4zM OOtwgnbdW4xewUw+1Mh+O7MC39mmLT+yAcsutXWqM/Pqb/c732YY/XlB9y4JDCnmlfk75B0FBgK 3L8K/MntlOeaQIvKfi+eru/bKiJ9f39ZnSYlEqssEHYE7/DJr9cWAfNjE3HDy+Fe3DdD3MbyMm8 B340BYeb3hvQZ8StOQhkuERbM1qFAQbLbqn8/PfEb9uO2Rrsa+8QtjLI5IpUEc/IMOzTdoE4Fj3 Rnh/Gp+Me X-Received: by 2002:a17:902:ea01:b0:2ed:2475:e40e with SMTP id d9443c01a7336-2f1ba24f965mr79432575ad.61.1796582665445; Sun, 06 Dec 2026 10:44:25 -0800 (PST) Return-Path: Received: from localhost.localdomain ([108.180.159.198]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2f1b791c626sm36011495ad.35.2026.12.06.10.44.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 06 Dec 2026 10:44:25 -0800 (PST) From: Babanpreet Singh To: openembedded-devel@lists.openembedded.org Cc: Khem Raj , Babanpreet Singh Subject: [meta-oe][PATCH 4/8] pg-ivm: add recipe Date: Sun, 6 Dec 2026 18:44:14 +0000 Message-ID: <20261206184418.7-5-bbnpreetsingh@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20261206184418.7-1-bbnpreetsingh@gmail.com> References: <20261206184418.7-1-bbnpreetsingh@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Sun, 06 Dec 2026 18:44:28 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/134156 pg_ivm adds incremental view maintenance to PostgreSQL. Signed-off-by: Babanpreet Singh --- .../conf/include/ptest-packagelists-meta-oe.inc | 1 + meta-oe/recipes-dbs/pg-ivm/pg-ivm_1.17.bb | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 meta-oe/recipes-dbs/pg-ivm/pg-ivm_1.17.bb diff --git a/meta-oe/conf/include/ptest-packagelists-meta-oe.inc b/meta-oe/conf/include/ptest-packagelists-meta-oe.inc index a8a66eb92b..a7c982a748 100644 --- a/meta-oe/conf/include/ptest-packagelists-meta-oe.inc +++ b/meta-oe/conf/include/ptest-packagelists-meta-oe.inc @@ -59,6 +59,7 @@ PTESTS_FAST_META_OE = "\ oprofile \ pegtl \ pg-cron \ + pg-ivm \ pv \ sdbus-c++ \ tomlplusplus \ diff --git a/meta-oe/recipes-dbs/pg-ivm/pg-ivm_1.17.bb b/meta-oe/recipes-dbs/pg-ivm/pg-ivm_1.17.bb new file mode 100644 index 0000000000..cc8915c38a --- /dev/null +++ b/meta-oe/recipes-dbs/pg-ivm/pg-ivm_1.17.bb @@ -0,0 +1,15 @@ +SUMMARY = "Incremental view maintenance for PostgreSQL" +DESCRIPTION = "pg_ivm adds incrementally maintainable materialized views \ +(IMMVs) to PostgreSQL. An IMMV is kept up to date by triggers on its base \ +tables, applying only the changes, so it needs no full refresh." +HOMEPAGE = "https://github.com/sraoss/pg_ivm" +BUGTRACKER = "https://github.com/sraoss/pg_ivm/issues" +LICENSE = "PostgreSQL" +LIC_FILES_CHKSUM = "file://LICENSE;md5=9802afb4f01687471056ec21eb8299c1" + +SRC_URI = "git://github.com/sraoss/pg_ivm.git;protocol=https;branch=main;tag=v${PV}" +SRCREV = "678c37861080aa221b859cefaca98725646dbf7c" + +inherit ptest-pgxs + +RDEPENDS:${PN} += "postgresql-client" From patchwork Sun Dec 6 18:44:15 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Babanpreet Singh X-Patchwork-Id: 107565 Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.706.1796582667640509154 for ; Sun, 06 Dec 2026 10:44:27 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=PEywDfl3; spf=pass (domain: gmail.com, ip: 209.85.214.172, mailfrom: bbnpreetsingh@gmail.com) Received: by mail-pl1-f172.google.com with SMTP id d9443c01a7336-2f03f3631b2so16169805ad.2 for ; Sun, 06 Dec 2026 10:44:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796582667; x=1797187467; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=Mgjsb5fR9CfZLlzcMEghjAvMuPMzUIHZCrZKYJXkwRo=; b=PEywDfl3IsT9zEtKH3gP9QRFmbK6rWCu8iklLWlBzDZ9PTkxe5bcW8/CvZ4byuT103 71wQzHtGEniPZdKq2cUHQdpFyYWii1X8dJfprxdmBGEIDq1wG9dZzHS+Eyq7uJeiz5zL 3euFw4dJ7+Orp6LouMSrBWg91q00RSTRW5jGO8mDrKz0IZ7EysRgmMQSLXf96nkdrC6N 4/ryPuvZJwsUQl0gv8a+Aq/MKJgADvJq0nZTRMhwnrL3lJkyig5Rtp5UZsmpY+cQPXqP zuT+G/6ULocuKQVfNBw3O+gYTowxL7I0jj/L1UdqOVNdmKtkUR/fD4ZN9ZtlAqHPC5Af aKmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796582667; x=1797187467; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=Mgjsb5fR9CfZLlzcMEghjAvMuPMzUIHZCrZKYJXkwRo=; b=BhG1usXY40PTna3E701O870nYE3Ityeh0C67WaPd+VA5u3PBQinpPmNWW1J64TuSgV dv0//M9h7bSuUYDh8VRymB1myXs6/AKlnZV+asXYHjw+67wWENsbDfDpY2j4qVrWxQPY fateFd+P2BPvvm4PyhZoE+M06GJF/iuewTv32OH+hmA7qYNfVzjiSFwUqS/LdeF045ih V0IiC29hCb937GSgkF5ZqEyuPeECOdAgbltd5tRNSYjgTX4/wqXoe9KMOA1Q9azR7x7v ecHBg4UqR7hq+zq+wmQtP5xpBTeutdjaBXtZNW7krzSqCrv1c8U0beJPMko4sX/cNB/e 979Q== X-Gm-Message-State: AB4q+uFIZSzYrM0epvscDc54rcDlIPVv0sx/taM672DL2OyN+8lzBjFp SZnLjBO5ket2RyN5VL+Unq+yL6pYXeBnj5vJpzKd5D5En+bBIjYPuYRRz+QgYtGo X-Gm-Gg: AZFdTZeXkkaEGesaSWQd9/JaXN5RTQg6bDY45gZdnW7lkNzxaUhxwz8SKlOwXx4Xprv ElpqWjIWVbV/STtc2ybYcc0twXpauminGfoVPtSFe6LeGZZoKRHe/LXp17qTsIV4TyPRgZHuUNW ZCAI1bCbNdW6oefEqlPcMXGyUg68d+e8Xh1dDTnm4hqwMWKDZHogKSzTTtt1UW+xj3Ll2w7iHf0 oj58Cd08XmbeXtMpcb/7cNwnYRLWndbEAh8XhtV8IBD9A3nFT3PaRhw4Z2/n+SZvWFHC1qQyv0O EN7NHvtPmO7y7XiFEjexUJaXqAvXtcjZ7HAkHdyZak1aGhEWu2DCUYsJh9Jy+6NEPCIhDZ0bTbQ q1CtMwhCOgv4qqtvJphJVuM6r0RNrNlYfhQFQNfK+elDDng+hGVyr50mg6V5kAve5j2KiYgXvi+ U14c2ZJgX0ZJJkLA7LRn95WoxKAoPhFjv31r9sDuKUXevJgUsAhFu2ENwgNsyABRmyHAVu+4djt N3WL+qPoovSjr+1Ilpj3Q25ZLbx6cuefOvW+GmlN1q8afLtRHzf6uioerairwZjGaKEMcigZLQI I6K27S796hmNlukAmq+L9qgDfO9ZpUHggJnnUXM5SKyXORTI7h+yZ2Zcx3PAmTU= X-Received: by 2002:a17:903:240c:b0:2f1:7311:e4bc with SMTP id d9443c01a7336-2f1ba0c85d0mr72137505ad.18.1796582667011; Sun, 06 Dec 2026 10:44:27 -0800 (PST) Return-Path: Received: from localhost.localdomain ([108.180.159.198]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2f1b791c626sm36011495ad.35.2026.12.06.10.44.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 06 Dec 2026 10:44:26 -0800 (PST) From: Babanpreet Singh To: openembedded-devel@lists.openembedded.org Cc: Khem Raj , Babanpreet Singh Subject: [meta-oe][PATCH 5/8] pg-wait-sampling: add recipe Date: Sun, 6 Dec 2026 18:44:15 +0000 Message-ID: <20261206184418.7-6-bbnpreetsingh@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20261206184418.7-1-bbnpreetsingh@gmail.com> References: <20261206184418.7-1-bbnpreetsingh@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Sun, 06 Dec 2026 18:44:28 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/134157 pg_wait_sampling samples the wait events of PostgreSQL processes and keeps them as a history and a profile. Signed-off-by: Babanpreet Singh --- .../conf/include/ptest-packagelists-meta-oe.inc | 1 + .../pg-wait-sampling/pg-wait-sampling_1.1.11.bb | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 meta-oe/recipes-dbs/pg-wait-sampling/pg-wait-sampling_1.1.11.bb diff --git a/meta-oe/conf/include/ptest-packagelists-meta-oe.inc b/meta-oe/conf/include/ptest-packagelists-meta-oe.inc index a7c982a748..e09f902b9d 100644 --- a/meta-oe/conf/include/ptest-packagelists-meta-oe.inc +++ b/meta-oe/conf/include/ptest-packagelists-meta-oe.inc @@ -60,6 +60,7 @@ PTESTS_FAST_META_OE = "\ pegtl \ pg-cron \ pg-ivm \ + pg-wait-sampling \ pv \ sdbus-c++ \ tomlplusplus \ diff --git a/meta-oe/recipes-dbs/pg-wait-sampling/pg-wait-sampling_1.1.11.bb b/meta-oe/recipes-dbs/pg-wait-sampling/pg-wait-sampling_1.1.11.bb new file mode 100644 index 0000000000..d1fb814abd --- /dev/null +++ b/meta-oe/recipes-dbs/pg-wait-sampling/pg-wait-sampling_1.1.11.bb @@ -0,0 +1,14 @@ +SUMMARY = "Sampling based statistics of wait events for PostgreSQL" +DESCRIPTION = "pg_wait_sampling collects the wait events of PostgreSQL \ +processes with a background worker that samples them at a fixed rate, \ +and shows the current events, a history and a per-process profile in \ +views. It must be loaded with shared_preload_libraries." +HOMEPAGE = "https://github.com/postgrespro/pg_wait_sampling" +BUGTRACKER = "https://github.com/postgrespro/pg_wait_sampling/issues" +LICENSE = "PostgreSQL" +LIC_FILES_CHKSUM = "file://LICENSE;md5=4860e45b6d5cad8a7bce7d1118ade4dc" + +SRC_URI = "git://github.com/postgrespro/pg_wait_sampling.git;protocol=https;branch=master;tag=v${PV}" +SRCREV = "7e3a5fc937393596c0a51c5881dd63d7208408d1" + +inherit ptest-pgxs From patchwork Sun Dec 6 18:44:16 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Babanpreet Singh X-Patchwork-Id: 107566 Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.176]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.676.1796582668188960369 for ; Sun, 06 Dec 2026 10:44:28 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=HeqoTFXn; spf=pass (domain: gmail.com, ip: 209.85.214.176, mailfrom: bbnpreetsingh@gmail.com) Received: by mail-pl1-f176.google.com with SMTP id d9443c01a7336-2f066274caeso15024295ad.2 for ; Sun, 06 Dec 2026 10:44:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796582668; x=1797187468; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=G9frGivX2xZjgv4UcIYQS1VLLgP7wo9lKZ6kBt/tTqw=; b=HeqoTFXn4eFhuwo67ExXcAFGW0ewmviHC7vk1yfRIpNsRg5fNLpoXpWlrxcu6O2l9H 4SmpW8FRicvzIA//XCGId8czU2qFn6sqIlgNCcTJbzT6Ajf1fwvIUnSDiimp1D0wlvfI UObuu2gcdAVLkMAHg6i97PsHvbHVy6HVyz8Hd0uU+GywMhtPYiLE0gCxSyNmFPzDiF2A XST7PPcqA2mLywu8DF1cc9Hmx6XJvCHWRJQWjXQ5J7pWMZoSFUEMQIgA0RPeVVgyeiEt 2b7nHI3fheUsPcFjWRCyfPDpSp3/AeVbLs8OxIwQM1Tq0nLf3NylG5XgfBqMBSEdQLuZ RgPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796582668; x=1797187468; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=G9frGivX2xZjgv4UcIYQS1VLLgP7wo9lKZ6kBt/tTqw=; b=I4lBNI3K9wiI4x/JHgNyBJ3Phgx5Qs1gHVPkuTOXs1hqXkU83ycJ01FaARqW3z22tC 4heFDyHZOmDlFP6E6F1PBjpgwJaebIxEBgeotsZBG5gj+joZqrssVTwWw1PRY4vuhqQz kg4k4eak1IRW1oR6x5VwYHly+iVmeme6fkdTT+wlnlQc94PXgT57Dxx4E+e19gUxT8zM VwvCHvjkbQetzGFeDOP4Rk4Ha3iZJ4RjmSgiWGksRvdorLSnyXH1kjEJePnCydl9EnOy qWBE7Hh78JZX+dcnYXtYffLN+PEe7ZFJEZMmcL178RoCjwPueLwNyoiWJ9v1QvjGV+1c qtaA== X-Gm-Message-State: AB4q+uHcCEttQItuCFPoQGymghHd7u0g6lGn/v1k4SVmcZnwyEoNWr3j z9+3xF8gUq0RilMyRqe1PsVBMpBk2709Y96VsNaQDutrXp6rd1hGv9Z3OE5bLrSf X-Gm-Gg: AZFdTZdfN0IZetuhimiwSfzyCOI2QCRoDBeZ0JBOimNpyQAzMc2tLacEfpgIDIhDq2f JEPG5dMls4HOhXhcs0SNFRc/woZu0NQ41kZrGxpoHoCxNvvZgW5l02YgidIkGTrKzBF0tFg/u1Y 7mfT71mT+73AT4Xs/Bd2hCa68KuHzhospYLqIyCDI68KuoxcsZ2cdvD7TLLlTTDnVbgxRM097Di 5J8NLkwVQqZqDNFW90Ov93tnz/lmtn+lhlbEEfvZXA8XXe2EAudlsPDcwaCrlo3rTcBOWHqwswp Kcwf0FFwvTIJVKQW8aDPRw2UtRlzNCLiP8gento++K7u6bJ6kt/GNSD8jUrZr32Mr3rWr3AAR9u tVvfx1jsGYzW9d4YbVOd/ykXi8es0rH3JzV9wb5KlpXlY/Wz05mWHLVTgj1h5B/HZ90rawVLULA Au1FuDYzJEkAdrZXt0WhTaQbGaEQq/5J4s/P/zrHhQyu0Tx4mlQICqUKHJn3D8DjIT6Y7kG865z 5Bt+d9ga4vmBhSYjSpIJt718ikDnF8S5FC2SKR3VFct7Q6QcOBdPGPclVBm0B+LRQHvW4bL5RVd 0MXkr7Dp9ArBnQycHT80gr3b9233s6YisYo7i0VojxoATOp+A2Vm1EBG0rWGgmw= X-Received: by 2002:a17:903:2450:b0:2f0:4a4f:635 with SMTP id d9443c01a7336-2f1ba227f2dmr82973525ad.49.1796582667546; Sun, 06 Dec 2026 10:44:27 -0800 (PST) Return-Path: Received: from localhost.localdomain ([108.180.159.198]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2f1b791c626sm36011495ad.35.2026.12.06.10.44.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 06 Dec 2026 10:44:27 -0800 (PST) From: Babanpreet Singh To: openembedded-devel@lists.openembedded.org Cc: Khem Raj , Babanpreet Singh Subject: [meta-oe][PATCH 6/8] postgresql-hll: add recipe Date: Sun, 6 Dec 2026 18:44:16 +0000 Message-ID: <20261206184418.7-7-bbnpreetsingh@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20261206184418.7-1-bbnpreetsingh@gmail.com> References: <20261206184418.7-1-bbnpreetsingh@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Sun, 06 Dec 2026 18:44:28 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/134158 postgresql-hll adds a HyperLogLog data type to PostgreSQL for approximate distinct counts. Signed-off-by: Babanpreet Singh --- .../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 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'" From patchwork Sun Dec 6 18:44:17 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Babanpreet Singh X-Patchwork-Id: 107567 Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.677.1796582669727698979 for ; Sun, 06 Dec 2026 10:44:29 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=AYXUjhuV; spf=pass (domain: gmail.com, ip: 209.85.214.170, mailfrom: bbnpreetsingh@gmail.com) Received: by mail-pl1-f170.google.com with SMTP id d9443c01a7336-2f020d0169eso12584025ad.0 for ; Sun, 06 Dec 2026 10:44:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796582669; x=1797187469; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=wHkR5IRxsatRTezgjl9K6vbOOxG1dT6M97Z59pEgv4A=; b=AYXUjhuVJvBPW54tXZS0eHJhsLFzYbXonniXjVDfL14jMFzilUGKfSdAWMleGt/nlt NWLyAB97XI0WE0aDJd1Gu4xmwOySINq0uCmynLGjVXWw8xfoi9FOePyHxgIZuwsPGrRE GmLgNjsS3FKHuiPM9t2QPcgJV28TlSNP5YjSTs2ZKqeP6Dd9ZvSwWp0UobSWFMs4P0QI Jk8ZoZQMyuxGF7GfU4VPEfiUSSdGHUKYBmHajWKOK6HtPbBp/LHXhmZc8VTOKvUU/+o3 hrLfznCChfrYai0jc6WyPGew426kIReoQ8xJtxHcMbechrT+49WpefVJ3s2PfpkG9ILM 72eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796582669; x=1797187469; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=wHkR5IRxsatRTezgjl9K6vbOOxG1dT6M97Z59pEgv4A=; b=YrhewKEdUEW9nL5jaRVUdBNN0Ac9pf9mIUJ/IgxAdjhZhA2FQSMGS2fmt3ciprUkoS sP/thc+4SkduOm+V9ZbS2EGE2iW5PecHI+qboeNlkRmB/zOGzT5ty7JTcP6J9/04nz07 G6mU0+vAZ2JZ9lLWduGrh5lc7WD5C/03pZwQ/ny5Yz4NKR5uJWE8agMqiWOnO1psZ0lq 6F36DwBKnTfsxBG7hnMgAw0tk44ILg26a3ywIgiQTNRy9eBbIANMhBeMBChfQZNybZ3P kk9qAgdMC2g7itJJU7mcmpOSdzPxAOWBzM2ZV+jcvGwgZpbEmMQZ6AO3qBidUgSKmsXn RfQw== X-Gm-Message-State: AB4q+uGAMRfe15mBJF5g3P9ks6l+jKlX9EiY7eviuPRX8e7eGJeTYsH8 cIZ513WvdaZx+0rJcAR6ouHNGDY3s/Gkh5JKy3Qpq+547sxvM4dnXQfhm13LRGUG X-Gm-Gg: AZFdTZeQ/4E5SAfbhqRjqzqxdmJ2ak8R1/RGfat2WlKwP8F6w4Nqiwr7Isip1d+azKG M7QsbeS7Tm/rk1EImVmEWIka4JwFYcqk8mZNyCIhcw704qRIu6UwX7uP9vQPM0PG05NUTygXaUm kvmFA7ZCCQZ7XRs8LVBvQm7RgjvrAXfNNaltePeVRZX+otFwk277iIw1gR41Uty32aKNw7FnvZg zY2tOo+j/suLXV62yj6PLDfCHyHGKUl8mXctiJjxROsvGr6esC17p7kNUrQr0fWpS6YAfhQyS8/ ardfeOCHD84NJ28sUKwNMyiAsQo09GAq3mPshXXHTq+M47nNglvjJ0L5HytkNQJXsdPPFYnzWbn O5KE00UVKvuQSkwc55rpzlrLPnQYfNxn89MQeZUDd+/zbfdtPrkqtn6OnH8jsv6nOaEIc+fC57Q jciCWXQLmJ6/G1g1OZdzCdlGPAZJHmbx9ftbUGryhar0TvMFugNi+JTmF2lwoR+fc6zykjBtmt+ VyicNh8XKcRN+XQXupNVCjjfPacAwmB9xSNlrC27jPHVjig4eTMML67rXh0UESd7zHFJFFp67F+ nONL59QokLRG7Rqu3xpkzQn0O9U8s1779hw+jWXCSWse5VbHZc6p3M47VRzcP7c= X-Received: by 2002:a17:902:fc8e:b0:2f0:3e48:8ce9 with SMTP id d9443c01a7336-2f1ba24fe83mr80251565ad.61.1796582669091; Sun, 06 Dec 2026 10:44:29 -0800 (PST) Return-Path: Received: from localhost.localdomain ([108.180.159.198]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2f1b791c626sm36011495ad.35.2026.12.06.10.44.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 06 Dec 2026 10:44:28 -0800 (PST) From: Babanpreet Singh To: openembedded-devel@lists.openembedded.org Cc: Khem Raj , Babanpreet Singh Subject: [meta-oe][PATCH 7/8] plpgsql-check: add recipe Date: Sun, 6 Dec 2026 18:44:17 +0000 Message-ID: <20261206184418.7-8-bbnpreetsingh@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20261206184418.7-1-bbnpreetsingh@gmail.com> References: <20261206184418.7-1-bbnpreetsingh@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Sun, 06 Dec 2026 18:44:38 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/134159 plpgsql_check checks PL/pgSQL functions for errors the PL/pgSQL compiler does not report. Signed-off-by: Babanpreet Singh --- .../conf/include/ptest-packagelists-meta-oe.inc | 1 + .../plpgsql-check/plpgsql-check_2.11.3.bb | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 meta-oe/recipes-dbs/plpgsql-check/plpgsql-check_2.11.3.bb diff --git a/meta-oe/conf/include/ptest-packagelists-meta-oe.inc b/meta-oe/conf/include/ptest-packagelists-meta-oe.inc index a0c5babd76..2d6deffefb 100644 --- a/meta-oe/conf/include/ptest-packagelists-meta-oe.inc +++ b/meta-oe/conf/include/ptest-packagelists-meta-oe.inc @@ -61,6 +61,7 @@ PTESTS_FAST_META_OE = "\ pg-cron \ pg-ivm \ pg-wait-sampling \ + plpgsql-check \ pv \ sdbus-c++ \ tomlplusplus \ diff --git a/meta-oe/recipes-dbs/plpgsql-check/plpgsql-check_2.11.3.bb b/meta-oe/recipes-dbs/plpgsql-check/plpgsql-check_2.11.3.bb new file mode 100644 index 0000000000..5bb4ceb5c2 --- /dev/null +++ b/meta-oe/recipes-dbs/plpgsql-check/plpgsql-check_2.11.3.bb @@ -0,0 +1,14 @@ +SUMMARY = "Extended checks for PL/pgSQL functions in PostgreSQL" +DESCRIPTION = "plpgsql_check is a PostgreSQL extension that checks PL/pgSQL \ +functions for errors the PL/pgSQL compiler does not report, such as \ +references to missing tables or columns and type mismatches in embedded \ +SQL. It also provides a profiler and a tracer for PL/pgSQL code." +HOMEPAGE = "https://github.com/okbob/plpgsql_check" +BUGTRACKER = "https://github.com/okbob/plpgsql_check/issues" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=ea648cd65ba33a15b34c3b1ca0007916" + +SRC_URI = "git://github.com/okbob/plpgsql_check.git;protocol=https;branch=master;tag=v${PV}" +SRCREV = "e4ac8784f36d9a5730dc014d75e222130c3e2441" + +inherit ptest-pgxs From patchwork Sun Dec 6 18:44:18 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Babanpreet Singh X-Patchwork-Id: 107568 Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.707.1796582671401753577 for ; Sun, 06 Dec 2026 10:44:31 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=yF3JFwAs; spf=pass (domain: gmail.com, ip: 209.85.214.171, mailfrom: bbnpreetsingh@gmail.com) Received: by mail-pl1-f171.google.com with SMTP id d9443c01a7336-2f066274caeso15024335ad.2 for ; Sun, 06 Dec 2026 10:44:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796582671; x=1797187471; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=E5bmI0xPjbovA33L1yYY1hMsDHJDSd+AlGTZUxK+eb8=; b=yF3JFwAstCjB6PxdjmxpLozLG2MhDtyn1hnYNV3fqGfL7E6lO6Tckfg1so/5xDqLy3 T25XIEUu21DtLQYuwDrdivQudAKZBnCo560evpU9NkmGEJgW9K79vZgLId274QizwAOg j22TrNlRdm1nn/uqvM7RnPKTb+2zPgvv5BuH2uqehGsEmCse+FOju8Se8qXNAeUr1Lb3 +zvYtrKN3k9xr1XRx4tYWrsHbULkZuTWfGx8sAjjXFYFc90JY1MtQp0hk1dUNcYl31Lb i03qX9z1XY3Khk/tGrxswyOZc3Jy1h40re0tjBYlgv1hQy4h/bjWK5wGr2Egi0DAK/nU eZng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796582671; x=1797187471; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=E5bmI0xPjbovA33L1yYY1hMsDHJDSd+AlGTZUxK+eb8=; b=NDZEbff4PU/uibautEjb0s/vG6txYB639rpdYjgqZuNKIApZ1W8HWX0m+z/+j6EoJG GUEb7Wdd1ZRMz7gqdvZn4dIYQM7OrkMxLpwEF8zYbeGf/72S9K4ADqnbSSM2NVO1hxBH smK1O85eNVISn42bWI2BRs4OcBH6miOrD0uFFya/ORbCh7qqC0uu47eR4TloiUKtPJNp iN/pygnaqyuX/g2Zlq9c2NVrrVcEuIZEwN7Om0MfKfzCueibOTCKIT0ztrMnzPI8Yilh ovlt0HoeM2qFfX0Tr1LlGKPxO4U/TXMHl3R2zdSuk92Giil1hUQk2AyaSr/NNDnMyW+9 cuxw== X-Gm-Message-State: AB4q+uHUJW/x3qVADgv/RmDrIFWUh8cPJQeGOK8MG9oIs00j+kWDg00z /8eiOongcMlguQm3b1ghvkyirdauZN35J6m0fX8Be3mmBOH7LP0/kqNoVCrlQ1EA X-Gm-Gg: AZFdTZepSW5A79YTLzsvUtoNmFV62NsxaDVtwaJXmp0V41A0OPAJTmf6VYEJdCjKjMT Gi8Ey5B1qXOh08lx8j6oaJpJqxWTA3vwHr6GVASM1CMrCL0OxSNerErshCoS61qigfio3G3tjsP iN5OKw36P2Y07g6O/CBAAohKGwf9WsuIbo4TSgnzmAdbFVjrkCRlf5JxrMKklnDzQ3vcWt4/1DU ldY8WacF60DIvv665L/AL0DJDB1quib2S8XiRwZB8op/0aHmpuNmFyMYPY5yjGQiQfR6IY+YD/v +j5pnS8hLvC+SVuukXF39h+11kqDr5KmHSRc4PyOMWDBzoJk9YF1iVV+fu0abxgjcBoBbSImolu op4NdNhd8KVcKxtO6XUi81hWXPhfi4rPFCLRUkZRaIFOqAa86SpnTHMgeGVYwQUBqHNxDKjq93R Cqi61cZFNDQPMBn2Qsx+eKtFjWgh5zsTHU3pP6h2GnaAcZOZ7okUVazSm2IKSnH+YoBXIpBMurP Mf6XTMY9JMiIUN7cNY2X9HQlATDd/6pGCiNtam40wg4eTxF7Q1QsIZOiGQXtI6cP+9RTKCu7O8J H+om1zDOye+IoVb94wWOE0CAoZfWVZI9NC30lp2MTlgKy+EiU05JZTxmPTP6ig0= X-Received: by 2002:a17:903:1cc:b0:2e8:4040:792b with SMTP id d9443c01a7336-2f1ba16efb3mr81651195ad.22.1796582670768; Sun, 06 Dec 2026 10:44:30 -0800 (PST) Return-Path: Received: from localhost.localdomain ([108.180.159.198]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2f1b791c626sm36011495ad.35.2026.12.06.10.44.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 06 Dec 2026 10:44:30 -0800 (PST) From: Babanpreet Singh To: openembedded-devel@lists.openembedded.org Cc: Khem Raj , Babanpreet Singh Subject: [meta-oe][PATCH 8/8] pg-repack: add recipe Date: Sun, 6 Dec 2026 18:44:18 +0000 Message-ID: <20261206184418.7-9-bbnpreetsingh@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20261206184418.7-1-bbnpreetsingh@gmail.com> References: <20261206184418.7-1-bbnpreetsingh@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Sun, 06 Dec 2026 18:44:38 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/134160 pg_repack reorganizes PostgreSQL tables and indexes with minimal locks. Signed-off-by: Babanpreet Singh --- .../include/ptest-packagelists-meta-oe.inc | 1 + .../pg-repack/create-tablespaces.out | 5 +++ .../pg-repack/create-tablespaces.sql | 5 +++ .../recipes-dbs/pg-repack/pg-repack_git.bb | 31 +++++++++++++++++++ 4 files changed, 42 insertions(+) create mode 100644 meta-oe/recipes-dbs/pg-repack/pg-repack/create-tablespaces.out create mode 100644 meta-oe/recipes-dbs/pg-repack/pg-repack/create-tablespaces.sql create mode 100644 meta-oe/recipes-dbs/pg-repack/pg-repack_git.bb diff --git a/meta-oe/conf/include/ptest-packagelists-meta-oe.inc b/meta-oe/conf/include/ptest-packagelists-meta-oe.inc index 2d6deffefb..7191a96765 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 = "\ libusb-compat \ mariadb \ pg-hint-plan \ + pg-repack \ postgresql \ postgresql-hll \ re2 \ diff --git a/meta-oe/recipes-dbs/pg-repack/pg-repack/create-tablespaces.out b/meta-oe/recipes-dbs/pg-repack/pg-repack/create-tablespaces.out new file mode 100644 index 0000000000..144ae20704 --- /dev/null +++ b/meta-oe/recipes-dbs/pg-repack/pg-repack/create-tablespaces.out @@ -0,0 +1,5 @@ +SET allow_in_place_tablespaces = true; +CREATE TABLESPACE testts LOCATION ''; +CREATE TABLESPACE "1testts" LOCATION ''; +CREATE TABLESPACE "test ts" LOCATION ''; +CREATE TABLESPACE "test""ts" LOCATION ''; diff --git a/meta-oe/recipes-dbs/pg-repack/pg-repack/create-tablespaces.sql b/meta-oe/recipes-dbs/pg-repack/pg-repack/create-tablespaces.sql new file mode 100644 index 0000000000..144ae20704 --- /dev/null +++ b/meta-oe/recipes-dbs/pg-repack/pg-repack/create-tablespaces.sql @@ -0,0 +1,5 @@ +SET allow_in_place_tablespaces = true; +CREATE TABLESPACE testts LOCATION ''; +CREATE TABLESPACE "1testts" LOCATION ''; +CREATE TABLESPACE "test ts" LOCATION ''; +CREATE TABLESPACE "test""ts" LOCATION ''; diff --git a/meta-oe/recipes-dbs/pg-repack/pg-repack_git.bb b/meta-oe/recipes-dbs/pg-repack/pg-repack_git.bb new file mode 100644 index 0000000000..cca9c9be07 --- /dev/null +++ b/meta-oe/recipes-dbs/pg-repack/pg-repack_git.bb @@ -0,0 +1,31 @@ +SUMMARY = "Reorganize PostgreSQL tables with minimal locks" +DESCRIPTION = "pg_repack removes bloat from tables and indexes, and can \ +restore the physical order of clustered indexes, without holding an \ +exclusive lock on the table while it works. It is a PostgreSQL \ +extension together with the pg_repack client program." +HOMEPAGE = "https://reorg.github.io/pg_repack/" +BUGTRACKER = "https://github.com/reorg/pg_repack/issues" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=809c5aa034ea3a382a8a6209a730a193" + +SRC_URI = "git://github.com/reorg/pg_repack.git;protocol=https;branch=master \ + file://create-tablespaces.sql \ + file://create-tablespaces.out \ + " +SRCREV = "bdf2ce2b53b7faa5963dc0c3d0b6405d98ff1c01" +PV = "1.5.3+git" + +UPSTREAM_CHECK_GITTAGREGEX = "ver_(?P\d+(\.\d+)+)" + +inherit ptest-pgxs + +EXTRA_OEMAKE:append = " PG_LIBS='$(libpq)'" + +PTEST_PGXS_DIR = "regress" +PTEST_PGXS_CONF = "wal_level = logical" + +do_install_ptest:append() { + install -m 0644 ${UNPACKDIR}/create-tablespaces.sql ${D}${PTEST_PATH}/tests/sql/ + install -m 0644 ${UNPACKDIR}/create-tablespaces.out ${D}${PTEST_PATH}/tests/expected/ + sed -i 's/^REGRESS="/REGRESS="create-tablespaces /' ${D}${PTEST_PATH}/ptest-pgxs.vars +}