Re: [HACKERS] Index on regexes

2013-06-25 Thread Heikki Linnakangas
On 13.06.2013 23:19, Alexander Korotkov wrote: Hackers, Attached patch contains opclass which demonstrates advantages of GIN additional information storing itself without other GIN improvements. It implements inversed task of regex indexing. It works so: you create index on regexes and search

[HACKERS] Index on regexes

2013-06-13 Thread Alexander Korotkov
Hackers, Attached patch contains opclass which demonstrates advantages of GIN additional information storing itself without other GIN improvements. It implements inversed task of regex indexing. It works so: you create index on regexes and search for regexes matched query string. It introduce two

Re: [HACKERS] Index on regexes

2013-06-13 Thread Erik Rijkers
On Thu, June 13, 2013 22:19, Alexander Korotkov wrote: [index_on_regexes.1.patch.gz ] Hi, Compile of core is OK, but contrib compilation fails: -- [2013.06.13 23:23:14 idxregex] make contrib trgm_gin.c: In function ‘gin_regexp_trgm_config’: trgm_gin.c:410:2: error: unknown type name

Re: [HACKERS] Index on regexes

2013-06-13 Thread Alexander Korotkov
On Fri, Jun 14, 2013 at 1:30 AM, Erik Rijkers e...@xs4all.nl wrote: On Thu, June 13, 2013 22:19, Alexander Korotkov wrote: [index_on_regexes.1.patch.gz ] Hi, Compile of core is OK, but contrib compilation fails: -- [2013.06.13 23:23:14 idxregex] make contrib trgm_gin.c: In function