From: | Gavin Sherry <swm(at)linuxworld(dot)com(dot)au> |
---|---|
To: | "Hicham G(dot) Elmongui" <elmongui(at)cs(dot)purdue(dot)edu> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: am i asking in the wrong place? |
Date: | 2004-08-09 23:44:09 |
Message-ID: | Pine.LNX.4.58.0408100939370.9269@linuxworld.com.au |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Mon, 9 Aug 2004, Hicham G. Elmongui wrote:
> Hi everybody,
> I never meant my emails to be spam. That's why i am just asking whether my
> questions here are out of subject. Typically my questions are about
> postgresql source code, like the question below. Please advise me whether
> i should forward my questions to somewhere else.
> Thanks a lot,
> --h
Most people are currently with beta and stuff.
>
>
> On Thu, 5 Aug 2004, Hicham G. Elmongui wrote:
>
> > In "join_selectivity" function (plancat.c), a function call is made to
> > "OidFunctionCall4" (fmgr.c), which in turn calls a function pointer.
> >
> > In need to know what is the actual function being called from
> > OidFunctionCall4 if the selectivity of mergejoin is the one required from
> > join_selectivity.
Connect to the backend with a debugger such as gdb and step through the
code and you will find it. Alternatively, have a better look at the code.
The function called is that returned by get_oprjoin(). This looks up the
operator (ie, '=', '<') in pg_operator and gets the function from there.
For example, '=' is eqjoinsel() from memory.
Gavin
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2004-08-09 23:48:45 | Re: Tablespace issues (comment on ,moving indexes) |
Previous Message | elein | 2004-08-09 23:43:07 | Re: Beta Leader? |