Re: [HACKERS] What Index Access Method Functions are really needed?

2011-04-23 Thread Kevin Grittner
Yves Weißig wrote: > I can not find "amcostestimate" in hash.h or anywhere, or am I > missing something? Search for hashcostestimate here: http://git.postgresql.org/gitweb?p=postgresql.git;a=blob;f=src/backend/utils/adt/selfuncs.c To find that, I ran this query: select * from pg_am; Tha

Re: [HACKERS] What Index Access Method Functions are really needed?

2011-04-23 Thread Yves Weißig
That is exactly the point, Kevin, I read the documentation and found out that "amgettuple" and "amgetbitmap" are optional. I just wondered if there is more information about this topic? Additionally, I can not find "amcostestimate" in hash.h or anywhere, or am I missing something? So "All of them"

Re: [HACKERS] What Index Access Method Functions are really needed?

2011-04-22 Thread Kevin Grittner
Leonardo Francalanci wrote: >>> another question regarding indexes. Sadly I can't find enough >>> info in the documentation. Which of the functions are needed in >>> order for a index to work? >> >> All of them. > > > Maybe I completely misunderstood the question, but some functions > are "opt

Re: [HACKERS] What Index Access Method Functions are really needed?

2011-04-22 Thread Leonardo Francalanci
> > another question regarding indexes. Sadly I can't find enough info in > > the documentation. Which of the functions are needed in order for a > > index to work? > > All of them. Maybe I completely misunderstood the question, but some functions are "optionals", such as amgetbitmap, right?

Re: [HACKERS] What Index Access Method Functions are really needed?

2011-04-22 Thread Tom Lane
=?ISO-8859-15?Q?Yves_Wei=DFig?= writes: > another question regarding indexes. Sadly I can't find enough info in > the documentation. Which of the functions are needed in order for a > index to work? All of them. regards, tom lane -- Sent via pgsql-hackers mailing list (

[HACKERS] What Index Access Method Functions are really needed?

2011-04-22 Thread Yves Weißig
Hi, another question regarding indexes. Sadly I can't find enough info in the documentation. Which of the functions are needed in order for a index to work? I am developing a prototype so it would be great if not all of the functions have to be implemented. E.g. are amcostestimate or amoptions nee