Skip site navigation (1) Skip section navigation (2)

Re: odd planner choice

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Ara Anjargolian" <ara(at)jargol(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: odd planner choice
Date: 2004-03-26 23:08:54
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-performance
"Ara Anjargolian" <ara(at)jargol(dot)com> writes:
> jargol=# explain select user_id, first_names, last_name from articles, users
> where article_id = 5027 and (articles.author_id1 = users.user_id or
> articles.author_id2 = users.user_id);

> Why does it think it MUST do a seq-scan in the second case?

There's no support for generating an OR indexscan in the context of a

			regards, tom lane

In response to

pgsql-performance by date

Next:From: Josh BerkusDate: 2004-03-26 23:11:22
Subject: Re: postgres eating CPU on HP9000
Previous:From: scott.marloweDate: 2004-03-26 22:20:00
Subject: Re: odd planner choice

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group