| From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org |
| Subject: | pgsql: Fix bool/int type confusion |
| Date: | 2017-09-14 16:09:23 |
| Message-ID: | E1dsWhf-0000pT-F9@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers pgsql-hackers |
Fix bool/int type confusion
Using ++ on a bool variable doesn't work well when stdbool.h is in use.
The original BSD code appears to use int here, so use that instead.
Reviewed-by: Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com>
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/0ec2e908babfbfde83a3925680f06b16408739ff
Modified Files
--------------
src/timezone/localtime.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Robert Haas | 2017-09-14 16:36:57 | pgsql: Make RelationGetPartitionDispatchInfo expand depth-first. |
| Previous Message | Stephen Frost | 2017-09-14 15:41:17 | Re: Re: [COMMITTERS] pgsql: Use MINVALUE/MAXVALUE instead of UNBOUNDED for range partition b |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Robert Haas | 2017-09-14 16:11:05 | Re: Parallel Append implementation |
| Previous Message | Robert Haas | 2017-09-14 16:05:16 | Re: [POC] hash partitioning |