aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/array_userfuncs.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2021-05-10 11:36:26 +0200
committerPeter Eisentraut <peter@eisentraut.org>2021-05-10 13:56:21 +0200
commit0d204a4b09f74f2c2ca0d099d5a44ce422d6978d (patch)
tree154b0ff8756e9d2368fddd521cb5f9a98d58dabd /src/backend/utils/adt/array_userfuncs.c
parent55fe672a92e3fab20d5126c05c35dfbc8d2b94a8 (diff)
downloadpostgresql-0d204a4b09f74f2c2ca0d099d5a44ce422d6978d.tar.gz
postgresql-0d204a4b09f74f2c2ca0d099d5a44ce422d6978d.zip
Emit dummy statements for probes.d probes when disabled
When building without --enable-dtrace, emit dummy do {} while (0) statements for the stubbed-out TRACE_POSTGRESQL_foo() macros instead of empty macros that totally elide the original probe statement. This fixes the warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] introduced by b94409a02f. Author: Craig Ringer <craig.ringer@2ndquadrant.com> Discussion: https://www.postgresql.org/message-id/flat/20210504221531.cfvpmmdfsou6eitb%40alap3.anarazel.de
Diffstat (limited to 'src/backend/utils/adt/array_userfuncs.c')
0 files changed, 0 insertions, 0 deletions