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

Greg Stark <gsstark@mit.edu> writes:
> Huh. The following shows something strange. It seems joining on two varchars
> no longer works well. Instead the optimizer has to convert both columns to
> text.

Define "no longer works well".  varchar doesn't have its own comparison
operators anymore, but AFAIK that makes no difference.

			regards, tom lane



view thread (19+ messages)  latest in thread

Message-ID: <25476.1070409047@sss.pgh.pa.us>
Permalink:  ../25476.1070409047@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/25476.1070409047@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, gsstark@mit.edu, jared@89glass.com
  Subject: Re: A question on the query planner
  In-Reply-To: <25476.1070409047@sss.pgh.pa.us>

* 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