Re: [SQL] left join on a view takes significantly more time.

2004-03-31 Thread Josh Berkus
Manuel, > I'm facing a wired problem. When I left join two tables PostgreSQL is > able to do it fast using the corresponding indices, However, if I > define a simple view (to format the data) on one of the tables, the > left join does not use the indices. Is something wrong here? At a guess, the

[SQL] left join on a view takes significantly more time.

2004-03-31 Thread Manuel Sugawara
Hi, I'm facing a wired problem. When I left join two tables PostgreSQL is able to do it fast using the corresponding indices, However, if I define a simple view (to format the data) on one of the tables, the left join does not use the indices. Is something wrong here? The two tables: ***