Re: [HACKERS] Universal B-tree

2010-08-10 Thread Yeb Havinga
Daniel Oliveira wrote: There is a way to acess a index inside a c function without using a sql statement ? Yes, if you know the oid of the index you want to scan, you can use functions from backend/access/index/indexam.c. regards, Yeb Havinga -- Sent via pgsql-hackers mailing list (pgsql-hac

Re: [HACKERS] Universal B-tree

2010-08-09 Thread Daniel Oliveira
There is a way to acess a index inside a c function without using a sql statement ? Best regards, Daniel Oliveira 2010/8/9 Daniel Oliveira > For research purpose, I think that expression index is a good idea. I just > want to do a proof of concept. > > The other issue is that my algorithm brea

Re: [HACKERS] Universal B-tree

2010-08-09 Thread Daniel Oliveira
For research purpose, I think that expression index is a good idea. I just want to do a proof of concept. The other issue is that my algorithm break a z-order interval into several intervals that represents the query box. How should I create it without creating any overhead? Best regards, daniel

Re: [HACKERS] Universal B-tree

2010-08-09 Thread Greg Stark
On Mon, Aug 9, 2010 at 5:31 PM, Daniel Oliveira wrote: > I don't need to change B-tree estructure. I just need integrate my encode > function that transforms multiple keys into one key by bit-interleaving and > to acess elements given several intervals (range search). You could build a "expressio