pg.ddx.io pgsql-hackers@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Tom Lane <tgl@sss.pgh.pa.us>
To: David Geier <geidav.pg@gmail.com>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: Thomas Munro <thomas.munro@gmail.com>
Cc: Chao Li <li.evan.chao@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: Consistently use palloc_object() and palloc_array()
Date: Fri, 05 Dec 2025 09:47:17 -0500
Message-ID: <1433178.1764946037@sss.pgh.pa.us> (raw )
In-Reply-To: <accd2714-19ea-43a6-b4ea-29ae5416431c@gmail.com >
References: <ad0748d4-3080-436e-b0bc-ac8f86a3466a@gmail.com >
<ED821EDD-6A1B-45B8-9005-31BCFFCB5A48@gmail.com >
<a29b0cd9-576f-486f-ba45-5139ee33adcf@gmail.com >
<524587.1764365323@sss.pgh.pa.us >
<1e7f0c17-a965-4d5b-ad88-b435a4d97490@gmail.com >
<CA+hUKGL+hiMRrAOqop1wmfpqTLg3GdyAJmO6KH6Dz3FjQvGN+w@mail.gmail.com >
<143d3184-b575-49bd-8bc1-f37f45f010cc@gmail.com >
<aS-F6LkeDBEly9nz@paquier.xyz >
<534126.1764722446@sss.pgh.pa.us >
<4ab4a12b-49e9-4ebf-9055-225c8055fed0@gmail.com >
<aTKMtSMTh4eiSGMr@paquier.xyz >
<accd2714-19ea-43a6-b4ea-29ae5416431c@gmail.com >
David Geier <geidav.pg@gmail.com> writes:
> My bad. I hadn't realized that - obviously - not necessarily all code is
> actually compiled by default.
> Will the build system enable any target for which all dependencies (e.g.
> libraries) are met, or are there targets that need to be enabled
> explicitly? Is there a way to enable all of them so I can easily make
> sure, I actually compile all code?
There's a good deal of platform-specific code in PG, particularly for
Windows, and obviously none of that will be built unless you're on the
right platform. (You can reach some of the Windows-specific code on
other systems with -DEXEC_BACKEND, but that goes only so far.)
As for optional-feature stuff, I think the meson build system will by
default build every option it can find the supporting libraries for.
But the other side of that coin is that if you didn't install the
right packages it will silently not build it.
I think the most reliable way is to look at "./configure --help"
and select all the options you think should work on your platform.
Then, if you forgot to install libfoo-devel or whatever, you'll
get configure failures.
regards, tom lane
view thread (29+ messages) latest in thread
Message-ID: <1433178.1764946037@sss.pgh.pa.us>
Permalink: ../1433178.1764946037@sss.pgh.pa.us/
Also on: postgresql.org/message-id/1433178.1764946037@sss.pgh.pa.us
copy link · copy postgr.es
reply Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, geidav.pg@gmail.com, michael@paquier.xyz, thomas.munro@gmail.com, li.evan.chao@gmail.com
Subject: Re: Consistently use palloc_object() and palloc_array()
In-Reply-To: <1433178.1764946037@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox