pgsql: Fix bool abuse

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix bool abuse
Date: 2013-07-09 02:46:43
Message-ID: E1UwNwx-0007IU-OO@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix bool abuse

path_encode's "closed" argument used to take three values: TRUE, FALSE,
or -1, while being of type bool. Replace that with a three-valued enum
for more clarity.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/7888c61238ca082404cf8348a69e2b66bf9f4e96

Modified Files
--------------
src/backend/utils/adt/geo_ops.c | 34 ++++++++++++++++++----------------
1 file changed, 18 insertions(+), 16 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2013-07-09 07:39:31 pgsql: Add #include needed for _mm_mfence() intrinsic on ia64.
Previous Message Alvaro Herrera 2013-07-08 21:14:00 pgsql: Fix mention of htup.h in pageinspect docs