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

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Don't use 'bool' as a struct member name in help_config.c.
Date: 2015-08-15 14:50:58
Message-ID: E1ZQcnS-0004wF-35@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)GD8470(at)awork2(dot)anarazel(dot)de
Backpatch: 9.0-master

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/d19c1b0b24d53f41222bf808dc6b40404b2954a1

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

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2015-08-15 14:50:59 pgsql: Don't use 'bool' as a struct member name in help_config.c.
Previous Message Andres Freund 2015-08-15 14:50:56 pgsql: Don't use 'bool' as a struct member name in help_config.c.