Fw: Fw: choosing use an index or not

Lists: pgsql-hackers
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
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


From: "Felipe Rondon Rocha" <frondon(at)globo(dot)com>
To: <pgsql-hackers(at)postgresql(dot)org>
Subject: Fw: Fw: choosing use an index or not
Date: 2006-12-20 12:43:52
Message-ID: 01c501c72434$81d94e30$57ce25c9@master
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

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

Attachment Content-Type Size
ATT00445.txt text/plain 2.0 KB
signature.asc application/octet-stream 189 bytes