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 <[EMAIL PROTECTED]> wrote:
Hi, can you halp me? Thks, Felipe ----- Original Message ----- From: "Martijn van Oosterhout" <kleptog@svana.org> To: "Felipe Rondon Rocha" <[EMAIL PROTECTED]> 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
-- [EMAIL PROTECTED] [EMAIL PROTECTED] gmail | hotmail | yahoo }.com