Re: Fw: Fw: choosing use an index or not

From: "Gurjeet Singh" <singh(dot)gurjeet(at)gmail(dot)com>
To: "Felipe Rondon Rocha" <frondon(at)globo(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Fw: Fw: choosing use an index or not
Date: 2006-12-20 12:02:18
Message-ID: 65937bea0612200402u2119967dr5701966c15f68821@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

As a starting point, you can look at these two functions:

src/backend/optimizer/path/indxpath.c : find_usable_indexes()
src/backend/optimizer/util/pathnode.c : add_path()

Hope this helps.

On 12/20/06, Felipe Rondon Rocha <frondon(at)globo(dot)com> wrote:
>
> Hi,
>
> can you halp me?
>
> Thks,
> Felipe
> ----- Original Message -----
> From: "Martijn van Oosterhout" <kleptog(at)svana(dot)org>
> To: "Felipe Rondon Rocha" <frondon(at)globo(dot)com>
> Sent: Tuesday, December 19, 2006 8:39 AM
> Subject: Re: Fw: [HACKERS] choosing use an index or not
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
> choose an index scan if your joining column's datatypes do not
> match
>
>
>
>

--
gurjeet[(dot)singh](at)EnterpriseDB(dot)com
singh(dot)gurjeet(at){ gmail | hotmail | yahoo }.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Takayuki Tsunakawa 2006-12-20 12:05:41 Re: [PATCHES] Load distributed checkpoint patch
Previous Message Mario 2006-12-20 11:55:59 Re: psql: core dumped