Release: https://github.com/DataDog/pg_tracing/releases/tag/v0.1.3
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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -g -g -O2 -Werror=implicit-function-declaration -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-omit-frame-pointer -Werror -fPIC -fvisibility=hidden -I. -I./ -I/usr/include/postgresql/18/server -I/usr/include/postgresql/internal -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2 -c -o src/pg_tracing.o src/pg_tracing.c
src/pg_tracing.c: In function '_PG_init':
src/pg_tracing.c:536:28: error: assignment to 'ExecutorStart_hook_type' {aka 'void (*)(QueryDesc *, int)'} from incompatible pointer type '_Bool (*)(QueryDesc *, int)' [-Wincompatible-pointer-types]
536 | ExecutorStart_hook = pg_tracing_ExecutorStart;
| ^
src/pg_tracing.c: In function 'pg_tracing_ExecutorStart':
src/pg_tracing.c:1812:32: error: void value not ignored as it ought to be
1812 | return prev_ExecutorStart(queryDesc, eflags);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/pg_tracing.c:1814:32: error: void value not ignored as it ought to be
1814 | return standard_ExecutorStart(queryDesc, eflags);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/pg_tracing.c:1839:21: error: void value not ignored as it ought to be
1839 | res = prev_ExecutorStart(queryDesc, eflags);
| ^
src/pg_tracing.c:1841:21: error: void value not ignored as it ought to be
1841 | res = standard_ExecutorStart(queryDesc, eflags);
| ^
make: *** [<builtin>: src/pg_tracing.o] Error 1
error building image: error building stage: failed to execute command: waiting for process to exit: exit status 2
Release: https://github.com/DataDog/pg_tracing/releases/tag/v0.1.3