Re: [RFC] building postgres with meson -v9

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [RFC] building postgres with meson -v9
Date: 2022-07-01 09:33:12
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers


Attached is an updated version of the meson patchset. There has been a steady
stream of incremental work over the last month, with patches from Peter
Eisentraut and Nazir Yavuz.

I tried to address the review comments Peter had downthread about the prep
patches. The one that I know is still outstanding is that there's still
different ways of passing output directories as parameters to a bunch of
scripts added, will resolve that next (some have been fixed).

Now the patchset contains a, somewhat hacky and incomplete, implementation of
pgxs, even when using meson. Basically a compatible is

There's a lot of small and medium sized changes.

As usual the changes are also my git branch [1], which gets updated fairly


Andres Freund


Attachment Content-Type Size
v9-0001-prereq-deal-with-paths-in-basebackup_to_shell-tes.patch.gz application/x-patch-gzip 956 bytes
v9-0002-meson-prereq-Specify-output-directory-for-psql-sq.patch.gz application/x-patch-gzip 1.4 KB
v9-0003-meson-prereq-ecpg-add-and-use-output-directory-ar.patch.gz application/x-patch-gzip 1.1 KB
v9-0004-meson-prereq-msvc-explicit-output-file-for-pgflex.patch.gz application/x-patch-gzip 944 bytes
v9-0005-meson-prereq-move-snowball_create.sql-creation-in.patch.gz application/x-patch-gzip 3.0 KB
v9-0006-meson-prereq-add-output-path-arg-in-generate-lwlo.patch.gz application/x-patch-gzip 841 bytes application/x-patch-gzip 1.1 KB
v9-0008-meson-prereq-unicode-allow-to-specify-output-dire.patch.gz application/x-patch-gzip 935 bytes
v9-0009-meson-prereq-Can-we-get-away-with-not-export-all-.patch.gz application/x-patch-gzip 5.5 KB
v9-0010-meson-prereq-add-src-tools-gen_versioning_script..patch.gz application/x-patch-gzip 934 bytes
v9-0011-meson-prereq-remove-LLVM_CONFIG-from-Makefile.glo.patch.gz application/x-patch-gzip 509 bytes
v9-0012-meson-prereq-Refactor-PG_TEST_EXTRA-logic-in-auto.patch.gz application/x-patch-gzip 1.4 KB
v9-0013-meson-prereq-Refactor-dtrace-postprocessing-make-.patch.gz application/x-patch-gzip 1.1 KB
v9-0014-meson-prereq-regress-allow-to-specify-director-co.patch.gz application/x-patch-gzip 1.7 KB
v9-0015-wip-split-TESTDIR-into-two.patch.gz application/x-patch-gzip 2.0 KB
v9-0016-meson-Add-meson-based-buildsystem.patch.gz application/x-patch-gzip 77.1 KB
v9-0017-meson-ci-Build-both-with-meson-and-as-before.patch.gz application/x-patch-gzip 4.5 KB

In response to


Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2022-07-01 09:41:37 Re: Refactor construct_array() and deconstruct_array() for built-in types
Previous Message Hannu Krosing 2022-07-01 09:17:45 Re: Hardening PostgreSQL via (optional) ban on local file system access