pgsql: Fix bool abuse

Started by Peter Eisentrautabout 13 years ago1 messagescomitters
Jump to latest
#1Peter Eisentraut
peter_e@gmx.net

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(-)

--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers