From: Babanpreet Singh <bbnpreetsingh@gmail.com>
To: openembedded-devel@lists.openembedded.org
Cc: Khem Raj <raj.khem@gmail.com>,
Babanpreet Singh <bbnpreetsingh@gmail.com>
Subject: [meta-oe][PATCH v2 1/3] postgresql: package pg_regress in postgresql-regress
Date: Wed, 2 Dec 2026 01:25:55 +0000 [thread overview]
Message-ID: <20261202012557.7-2-bbnpreetsingh@gmail.com> (raw)
In-Reply-To: <20261202012557.7-1-bbnpreetsingh@gmail.com>
Extension ptests need pg_regress without postgresql-server-dev, which
now recommends the new package so installcheck keeps working.
AI-Generated: Uses Claude (claude-opus-5-5)
Signed-off-by: Babanpreet Singh <bbnpreetsingh@gmail.com>
---
v2: postgresql-server-dev recommends postgresql-regress
meta-oe/recipes-dbs/postgresql/postgresql.inc | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/meta-oe/recipes-dbs/postgresql/postgresql.inc b/meta-oe/recipes-dbs/postgresql/postgresql.inc
index 00545ec74e..8d9ca10955 100644
--- a/meta-oe/recipes-dbs/postgresql/postgresql.inc
+++ b/meta-oe/recipes-dbs/postgresql/postgresql.inc
@@ -359,7 +359,7 @@ postgresql_fix_sources () {
}
PACKAGESPLITFUNCS =+ "postgresql_fix_sources"
-PACKAGES =+ "${PN}-client ${PN}-client-doc ${PN}-server-dev ${PN}-timezone \
+PACKAGES =+ "${PN}-client ${PN}-client-doc ${PN}-regress ${PN}-server-dev ${PN}-timezone \
libecpg-compat libecpg-compat-dev \
libecpg libecpg-dev libecpg-staticdev libecpg-doc \
libpq libpq-dev libpq-staticdev \
@@ -421,6 +421,9 @@ FILES:${PN}-timezone = "${datadir}/${BPN}/timezone \
${datadir}/${BPN}/timezonesets \
"
RDEPENDS:${PN} += "${PN}-timezone"
+FILES:${PN}-regress = "${libdir}/${BPN}/pgxs/src/test/regress/pg_regress"
+RDEPENDS:${PN}-regress += "${PN}-client"
+RRECOMMENDS:${PN}-server-dev += "${PN}-regress"
FILES:${PN}-server-dev = "${includedir}/${BPN}/server \
${libdir}/${BPN}/pgxs \
"
--
2.43.0
next prev parent reply other threads:[~2026-12-02 1:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-02 1:25 [meta-oe][PATCH v2 0/3] ptest for PGXS extensions Babanpreet Singh
2026-12-02 1:25 ` Babanpreet Singh [this message]
2026-12-02 1:25 ` [meta-oe][PATCH v2 2/3] ptest-pgxs.bbclass: add class for PGXS extension tests Babanpreet Singh
2026-12-02 1:25 ` [meta-oe][PATCH v2 3/3] pg-cron: add ptest support Babanpreet Singh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261202012557.7-2-bbnpreetsingh@gmail.com \
--to=bbnpreetsingh@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
--cc=raj.khem@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox