From: | Álvaro Herrera <alvherre(at)kurilemu(dot)de> |
---|---|
To: | Jacob Champion <jacob(dot)champion(at)enterprisedb(dot)com> |
Cc: | "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>, Steven Niu <niushiji(at)gmail(dot)com>, "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Question for coverage report |
Date: | 2025-10-21 20:33:18 |
Message-ID: | 202510212021.l7d7kaod6w3a@alvherre.pgsql |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 2025-Oct-21, Jacob Champion wrote:
> Are you able to double-check the compiler invocation for pgoutput.c?
Yep -- it does get -O0. Is there some other flag this is missing?
make -C backend/replication/pgoutput all
make[2]: Entering directory '/home/coverage/pgsrc/pgsql/src/backend/replication/pgoutput'
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -fprofile-arcs -ftest-coverage -O0 -fPIC -fvisibility=hidden -I../../../../src/include -DCOPY_PARSE_PLAN_TREES -DWRITE_READ_PARSE_PLAN_TREES -DRAW_EXPRESSION_COVERAGE_TEST -D_GNU_SOURCE -I/usr/include/libxml2 -c -o pgoutput.o pgoutput.c -MMD -MP -MF .deps/pgoutput.Po
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -fprofile-arcs -ftest-coverage -O0 -fPIC -fvisibility=hidden -shared -o pgoutput.so pgoutput.o -L../../../../src/port -L../../../../src/common -Wl,--as-needed -Wl,-rpath,'/usr/local/pgsql/lib',--enable-new-dtags -fvisibility=hidden
make[2]: Leaving directory '/home/coverage/pgsrc/pgsql/src/backend/replication/pgoutput'
--
Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/
"I must say, I am absolutely impressed with what pgsql's implementation of
VALUES allows me to do. It's kind of ridiculous how much "work" goes away in
my code. Too bad I can't do this at work (Oracle 8/9)." (Tom Allison)
http://archives.postgresql.org/pgsql-general/2007-06/msg00016.php
From | Date | Subject | |
---|---|---|---|
Next Message | David E. Wheeler | 2025-10-21 20:44:19 | Re: abi-compliance-check failure due to recent changes to pg_{clear,restore}_{attribute,relation}_stats() |
Previous Message | Arseniy Mukhin | 2025-10-21 20:26:55 | Re: LISTEN/NOTIFY bug: VACUUM sets frozenxid past a xid in async queue |