pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Greg Stark <gsstark@mit.edu>
To: Jared Carr <jared@89glass.com>
Cc: Greg Stark <gsstark@mit.edu>
Cc: pgsql-performance@postgresql.org
Subject: Re: A question on the query planner
Date: 02 Dec 2003 15:11:02 -0500
Message-ID: <871xrn9e09.fsf@stark.dyndns.tv> (raw)
In-Reply-To: <3FCCE48B.10406@89glass.com>
References: <3FCBB639.10409@89glass.com>
	<1070385381.24915.8650.camel@camel>
	<3FCCD225.8030609@89glass.com>
	<87d6b79har.fsf@stark.dyndns.tv>
	<3FCCE48B.10406@89glass.com>

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




view thread (19+ messages)  latest in thread

Message-ID: <871xrn9e09.fsf@stark.dyndns.tv>
Permalink:  ../871xrn9e09.fsf@stark.dyndns.tv/
Also on:    postgresql.org/message-id/871xrn9e09.fsf@stark.dyndns.tv

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: gsstark@mit.edu, jared@89glass.com
  Subject: Re: A question on the query planner
  In-Reply-To: <871xrn9e09.fsf@stark.dyndns.tv>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox