Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group