Re: Compile warnings in dbcommands.c building with meson - Mailing list pgsql-hackers

From jian he
Subject Re: Compile warnings in dbcommands.c building with meson
Date
Msg-id CACJufxFQxBwrSdT59DS2F2mT6oMg+J=rzxopxUjXoJV6U35LmQ@mail.gmail.com
Whole thread Raw
In response to Re: Compile warnings in dbcommands.c building with meson  (Aleksander Alekseev <aleksander@timescale.com>)
List pgsql-hackers
Hi. one more feedback.

I tested the original repo setup, but it does not generate a warning
on my local setup.
meson setup  --reconfigure ${BUILD} \
-Dprefix=${PG_PREFIX} \
-Dpgport=5463 \
-Dplpython=enabled \
-Dcassert=true \
-Dtap_tests=enabled \
-Dicu=enabled  \
-Ddebug=true  \
-Dnls=disabled

 it generate warning, when I add -Dbuildtype=release :

meson setup  --reconfigure ${BUILD} \
-Dprefix=${PG_PREFIX} \
-Dpgport=5463 \
-Dplpython=enabled \
-Dcassert=true \
-Dtap_tests=enabled \
-Dicu=enabled  \
-Dbuildtype=release \
-Ddebug=true  \
-Dnls=disabled

After applying the patch, the warning disappeared.
so it fixed the problem.



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Test slots invalidations in 035_standby_logical_decoding.pl only if dead rows are removed
Next
From: Andy Fan
Date:
Subject: Re: the s_lock_stuck on perform_spin_delay