Re: A question on the query planner - Mailing list pgsql-performance

From Greg Stark
Subject Re: A question on the query planner
Date
Msg-id 871xrn9e09.fsf@stark.dyndns.tv
Whole thread Raw
In response to Re: A question on the query planner  (Jared Carr <jared@89glass.com>)
Responses Re: A question on the query planner  (Jared Carr <jared@89glass.com>)
List 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 by date:

Previous
From: Josh Berkus
Date:
Subject: Re: cross table indexes or something?
Next
From: Jared Carr
Date:
Subject: Re: A question on the query planner