Created attachment 197533 [details] databases/prefix This module is written by Dimitri Fontaine with a great amount of help from RhodiumToad (formely known as AndrewSN), who was the one advising for a GiST opclass to solve the prefix matching problem. Prefix matching is both very common and important in telephony applications, where call routing and costs depend on matching caller/callee phone number to an operator prefix. Let's say the prefixes table is called prefixes, a typical query will try to match a phone number to the longest prefix in the table: SELECT * FROM prefixes WHERE prefix @> '0123456789' ORDER BY length(prefix) DESC LIMIT 1;
Comment on attachment 197533 [details] databases/prefix #LLD_UNSAFE= yes Instead of commenting it out, remove if not used .for i in README.md TESTS.md + ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} +.endfor Why use loop to install two files? (cd ${WRKSRC} ; ${INSTALL_DATA} README.md TESTS.md ${STAGEDIR}${DOCSDIR})
Created attachment 197542 [details] databases/prefix You're right, it's fixed.
I'll test out this port today...
Committed in 487459 with minor edits: - Cleaned up Makefile (no need for LLD_UNSAFE) - Removed first paragraph from pkg-descr (to me it didn't seem to be part of the description of the package functionality - if you disagree please state here and I'll reinstate it) - Removed extra white spaces in pkg-descr