Re: A question on the query planner

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: A question on the query planner
Дата
Msg-id 871xrn9e09.fsf@stark.dyndns.tv
обсуждение исходный текст
Ответ на Re: A question on the query planner  (Jared Carr <jared@89glass.com>)
Ответы Re: A question on the query planner  (Jared Carr <jared@89glass.com>)
Список pgsql-performance
Jared Carr <jared@89glass.com> writes:

> Greg Stark wrote:
>
> >
> >>         Merge Cond: ("outer"."?column7?" = "inner"."?column5?")
> >>
> >
> >Well it looks like you have something strange going on. What data type is
> > car_id in each table?
> car_id is a varchar(10) in both tables.

Well for some reason it's being cast to a text to do the merge.

What version of postgres is this btw? The analyzes look like 7.4?

--
greg

В списке pgsql-performance по дате отправления:

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: cross table indexes or something?
Следующее
От: Jared Carr
Дата:
Сообщение: Re: A question on the query planner