bool abuse in path_encode() - Mailing list pgsql-hackers

From Peter Eisentraut
Subject bool abuse in path_encode()
Date
Msg-id 1373159553.17986.7.camel@vanquo.pezone.net
Whole thread Raw
Responses Re: bool abuse in path_encode()
List pgsql-hackers
The function path_encode() in geo_ops.c takes an argument "bool closed",
to indicate an open or closed path --- but you can also pass -1 to
indicate "neither".  I propose to change this to an enum to make the
code clearer and less weird.


Attachment

pgsql-hackers by date:

Previous
From: Kenji uno
Date:
Subject: How to implement Gin method?
Next
From: Robins Tharakan
Date:
Subject: Re: Add regression tests for ROLE (USER)