Skip to content

postgresql: add PGXS extension support and pg_cron

Babanpreet Singh openembedded-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3postgresql: make PGXS usable for cross-building extensionsmeta-oe/recipes-dbs/postgresql/files/pg_config meta-oe/recipes-dbs/postgresql/postgresql.inc+99 -60 replies
2/3pgxs.bbclass: add class for PostgreSQL extensionsmeta-oe/classes/pgxs.bbclass+22 -00 replies
3/3pg-cron: add recipemeta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb meta-oe/recipes-dbs/pg-cron/pg-cron_1.6.8.bb+14 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [meta-oe][PATCH 0/3] postgresql: add PGXS extension support and pg_cron

PGXS extensions cannot be cross-built in OE today. Patch 1 makes the postgresql recipe support that, patch 2 adds a class for extension recipes and patch 3 adds pg_cron as the first one.

Built for qemux86-64 and qemuarm64 and run in a qemux86-64 image. I also built pgvector, pgaudit, pg_partman, orafce and hll through the class to check it is not specific to pg_cron.

Babanpreet Singh (3):
postgresql: make PGXS usable for cross-building extensions pgxs.bbclass: add class for PostgreSQL extensions
pg-cron: add recipe

 meta-oe/classes/pgxs.bbclass                  | 22 +++++++
 .../packagegroups/packagegroup-meta-oe.bb     |  1 +
 meta-oe/recipes-dbs/pg-cron/pg-cron_1.6.8.bb  | 13 ++++
 .../recipes-dbs/postgresql/files/pg_config    | 43 +++++++++++++
 meta-oe/recipes-dbs/postgresql/postgresql.inc | 62 +++++++++++++++++--
 5 files changed, 135 insertions(+), 6 deletions(-)
 create mode 100644 meta-oe/classes/pgxs.bbclass
 create mode 100644 meta-oe/recipes-dbs/pg-cron/pg-cron_1.6.8.bb
 create mode 100755 meta-oe/recipes-dbs/postgresql/files/pg_config
Signature · 1 line
2.43.0