pgsql: Don't use 'bool' as a struct member name in help_config.c. - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: Don't use 'bool' as a struct member name in help_config.c.
Date
Msg-id E1ZQcnc-0004xy-7u@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Don't use 'bool' as a struct member name in help_config.c.

Doing so doesn't work if bool is a macro rather than a typedef.

Although c.h spends some effort to support configurations where bool is
a preexisting macro, help_config.c has existed this way since
2003 (b700a6), and there have not been any reports of
problems. Backpatch anyway since this is as riskless as it gets.

Discussion: 20150812084351.GD8470@awork2.anarazel.de
Backpatch: 9.0-master

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/8749aafde2179de243bc8ffeec23a28a94ec5def

Modified Files
--------------
src/backend/utils/misc/help_config.c |    4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: pgsql: Don't use 'bool' as a struct member name in help_config.c.
Next
From: Andres Freund
Date:
Subject: pgsql: vacuumdb: Don't assign negative values to a boolean.