Closed ericjredman closed 11 years ago
Fixed in 0178f9f. Thanks for your report!
Awesome!
On Fri, Nov 16, 2012 at 9:02 AM, Euler Taveira de Oliveira < notifications@github.com> wrote:
Fixed in 0178f9f https://github.com/eulerto/pg_similarity/commit/0178f9f. Thanks for your report!
— Reply to this email directly or view it on GitHubhttps://github.com/eulerto/pg_similarity/issues/6#issuecomment-10453858.
If either parameter passed to overlapcoefficient is an empty string rather than null, a segment fault is raised. I can repeat this with the extension installed on Amazon Linux 2012-09 running Postgresql 9.2. I compiled the pg_similarity code from c12cc00.
Here's an example:
values(overlapcoefficient('hello',''))