Teodor Sigaev <teodor(at)sigaev(dot)ru> writes:
> http://www.sigaev.ru/misc/polygon-0.2.gz
> Patch fixes wrong algorithms of contains and overlap operations over polygons.
> Regression tests contain an examples of such polygons.
Looks sane in a quick once-over. Please commit.
regards, tom lane