Re: [HACKERS] Uninterruptible slow geo_ops.c

2017-12-10 Thread Tom Lane
Emre Hasegeli writes: > I believe there is a simple flaw on the algorithm that causes it loop > endlessly. It should stop looking at the other segments of the > polygon after finding the touching one. The attached patch fixes the > issue for the query posted to this thread. I suggest backpackin

Re: [HACKERS] Uninterruptible slow geo_ops.c

2017-12-10 Thread Emre Hasegeli
[Replying to an old thread...] > A customer of ours hit some very slow code while running the > @>(polygon, polygon) operator with some big polygons. I'm not familiar > with this stuff but I think the problem is that the algorithm converges > too slowly to a solution and also has some pretty expe