On 2024-May-14, Jakub Wartak wrote:

> On Sun, May 12, 2024 at 10:33 PM Peter Eisentraut <pe...@eisentraut.org> 
> wrote:

> > Don't production builds use debug
> > symbols nowadays as well?
> 
> Reality is apparently mixed,at least from what I have checked :
> - all RHEL 7.x/8.x (PGDG and our forks) do NOT come with
> --enable-debug according to pg_config.

Ooh, yeah, that's true according to 
https://git.postgresql.org/gitweb/?p=pgrpms.git;a=blob;f=rpm/redhat/main/non-common/postgresql-16/main/postgresql-16.spec;h=ab2f6edc903f083e04b8f7a1d3bad8e1b7018791;hb=1a8b9fa7019d3f73322ca873b62dc0b33e73ed1d

 507 %if %beta
 508         --enable-debug \
 509         --enable-cassert \
 510 %endif

Maybe a better approach for this whole thing is to change the specs so
that --enable-debug is always given, not just for %beta.

-- 
Álvaro Herrera               48°01'N 7°57'E  —  https://www.EnterpriseDB.com/


Reply via email to