diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2020-10-17 08:38:39 +0200 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2020-11-11 11:00:27 +0100 |
commit | c617aea6acdd9057a14d91ff294905b1b5509348 (patch) | |
tree | 9745f24103d647ebb7924e3dbdfa6e71b7c5421c /src/backend/executor/nodeProjectSet.c | |
parent | c77f6f50e4187bed38d1d36ae16b0c248e286d15 (diff) | |
download | postgresql-c617aea6acdd9057a14d91ff294905b1b5509348.tar.gz postgresql-c617aea6acdd9057a14d91ff294905b1b5509348.zip |
Add pg_nodiscard function declaration specifier
pg_nodiscard means the compiler should warn if the result of a
function call is ignored. The name "nodiscard" is chosen in alignment
with (possibly future) C and C++ standards. It maps to the GCC
attribute warn_unused_result.
Reviewed-by: Michael Paquier <michael@paquier.xyz>
Discussion: https://www.postgresql.org/message-id/flat/e3753562-99cd-b65f-5aca-687dfd1ec2fc@2ndquadrant.com
Diffstat (limited to 'src/backend/executor/nodeProjectSet.c')
0 files changed, 0 insertions, 0 deletions