Add pg_nodiscard decorations to some functions Especially for the list API such as lappend() forgetting to assign the return value is a common problem. Reviewed-by: Michael Paquier <michael@paquier.xyz> Discussion: https://www.postgresql.org/message-id/flat/e3753562-99cd-b65f-5aca-687dfd1ec2fc@2ndquadrant.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/a378ba49a5cfec073d885f4943e1c7e4b83abd3b Modified Files -------------- src/include/nodes/pg_list.h | 62 ++++++++++++++++++++++----------------------- src/include/utils/palloc.h | 4 +-- 2 files changed, 33 insertions(+), 33 deletions(-)
pgsql-committers by date:
Соглашаюсь с условиями обработки персональных данных