All of lore.kernel.org
 help / color / mirror / Atom feed
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 1/3] postgresql: package pg_regress in postgresql-regress
Date: Tue,  1 Dec 2026 20:16:58 +0000	[thread overview]
Message-ID: <20261201201700.7-2-bbnpreetsingh@gmail.com> (raw)
In-Reply-To: <20261201201700.7-1-bbnpreetsingh@gmail.com>

pg_regress is needed on the target to run the regression tests of
extensions. Give it its own package, so a ptest does not have to pull
in postgresql-server-dev.

AI-Generated: Uses Claude (claude-opus-5-5)
Signed-off-by: Babanpreet Singh <bbnpreetsingh@gmail.com>
---
 meta-oe/recipes-dbs/postgresql/postgresql.inc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-dbs/postgresql/postgresql.inc b/meta-oe/recipes-dbs/postgresql/postgresql.inc
index 00545ec74e..cf7ffc134e 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,8 @@ 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"
 FILES:${PN}-server-dev = "${includedir}/${BPN}/server \
                           ${libdir}/${BPN}/pgxs \
 "
-- 
2.43.0


  reply	other threads:[~2026-12-01 20:17 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-01 20:16 [meta-oe][PATCH 0/3] ptest for PGXS extensions Babanpreet Singh
2026-12-01 20:16 ` Babanpreet Singh [this message]
2026-12-02  0:53   ` [PATCH 1/3] postgresql: package pg_regress in postgresql-regress Khem Raj
2026-12-01 20:16 ` [meta-oe][PATCH 2/3] ptest-pgxs.bbclass: add class for PGXS extension tests Babanpreet Singh
2026-12-02  0:53   ` [PATCH " Khem Raj
2026-12-02  1:26     ` [meta-oe][PATCH " Babanpreet Singh
2026-12-01 20:17 ` [meta-oe][PATCH 3/3] pg-cron: add ptest support Babanpreet Singh
2026-12-02  0:53   ` [PATCH " Khem Raj

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=20261201201700.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.