Re: [HACKERS] Where can I find the code for extern OidFunctionCall7?

2013-09-05 Thread Alvaro Herrera
arthernan wrote: OidFunctionCall7 is called from costsize.c, in function void cost_index. From the comments, I understand that there is an indirection mechanism here to allow for different index access methods. Looking at fmgr.h where it is declared is not clear to me where I would ultimately

[HACKERS] Where can I find the code for extern OidFunctionCall7?

2013-09-05 Thread arthernan
OidFunctionCall7 is called from costsize.c, in function void cost_index. From the comments, I understand that there is an indirection mechanism here to allow for different index access methods. Looking at fmgr.h where it is declared is not clear to me where I would ultimately find the code. Any

Re: [HACKERS] Where can I find the code for extern OidFunctionCall7?

2013-09-05 Thread arthernan
Thank you guys! -- View this message in context: http://postgresql.1045698.n5.nabble.com/Where-can-I-find-the-code-for-extern-OidFunctionCall7-tp5769737p5769753.html Sent from the PostgreSQL - hackers mailing list archive at Nabble.com. -- Sent via pgsql-hackers mailing list

Re: [HACKERS] Where can I find the code for extern OidFunctionCall7?

2013-09-05 Thread Robert Haas
On Thu, Sep 5, 2013 at 12:38 PM, arthernan arther...@hotmail.com wrote: OidFunctionCall7 is called from costsize.c, in function void cost_index. From the comments, I understand that there is an indirection mechanism here to allow for different index access methods. Looking at fmgr.h where it is

Re: [HACKERS] Where can I find the code for extern OidFunctionCall7?

2013-09-05 Thread arthernan
The comments on this sourcebase are really good, plus it is very well structured! I read somewhere that you can actually store an execution plan by using stored procedures. If that is the case. I would imagine that variables would prevent the histograms from being used. I don't mind finding the

Re: [HACKERS] Where can I find the code for extern OidFunctionCall7?

2013-09-05 Thread arthernan
Never mind I think I found it. -- View this message in context: http://postgresql.1045698.n5.nabble.com/Where-can-I-find-the-code-for-extern-OidFunctionCall7-tp5769737p5769801.html Sent from the PostgreSQL - hackers mailing list archive at Nabble.com. -- Sent via pgsql-hackers mailing list