Re: Fw: Fw: choosing use an index or not - Mailing list pgsql-hackers

From Gurjeet Singh
Subject Re: Fw: Fw: choosing use an index or not
Date
Msg-id 65937bea0612200402u2119967dr5701966c15f68821@mail.gmail.com
Whole thread Raw
In response to Fw: Fw: choosing use an index or not  ("Felipe Rondon Rocha" <frondon@globo.com>)
List 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@globo.com> wrote:
Hi,

can you halp me?

Thks,
Felipe
----- Original Message -----
From: "Martijn van Oosterhout" <kleptog@svana.org>
To: "Felipe Rondon Rocha" < frondon@globo.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[.singh]@EnterpriseDB.com
singh.gurjeet@{ gmail | hotmail | yahoo }.com

pgsql-hackers by date:

Previous
From: "Takayuki Tsunakawa"
Date:
Subject: Re: [PATCHES] Load distributed checkpoint patch
Next
From: Martijn van Oosterhout
Date:
Subject: Re: column ordering, was Re: [PATCHES] Enums patch v2