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

[HACKERS] Universal B-tree

2010-08-09 Thread Daniel Oliveira
Dear developers, I'm PhD candidate in Brazil and a newbie on postgresql developement, sorry for any silly questions. I implemented a new algorithm for range search using universal b-tree but I don't have a clue how to integrate it into postgresql. Where I can find the resources about it? I

Re: [HACKERS] Universal B-tree

2010-08-09 Thread Greg Stark
On Mon, Aug 9, 2010 at 5:31 PM, Daniel Oliveira danielmarquesolive...@gmail.com 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).

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,

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 danielmarquesolive...@gmail.com For research purpose, I think that expression index is a good idea. I just want to do a proof of concept. The other