Re: Proposed Query Planner TODO items

Поиск
Список
Период
Сортировка
Искать
От
Josh Berkus
Тема
Re: Proposed Query Planner TODO items
Дата
Msg-id
200312051214.37204.josh@agliodbs.com
Список
Дерево обсуждения
Re: Proposed Query Planner TODO items markw@osdl.org
Re: Proposed Query Planner TODO items Tatsuo Ishii <t-ishii@sra.co.jp>
Re: Proposed Query Planner TODO items Mark Wong <markw@osdl.org>
Re: Proposed Query Planner TODO items Tatsuo Ishii <t-ishii@sra.co.jp>
Re: Proposed Query Planner TODO items Mark Wong <markw@osdl.org>
Re: Proposed Query Planner TODO items Tatsuo Ishii <t-ishii@sra.co.jp>
Re: Proposed Query Planner TODO items Tatsuo Ishii <t-ishii@sra.co.jp>
DBT-3 v1.5 Q19 (Re: Proposed Query Planner TODO items) Tatsuo Ishii <t-ishii@sra.co.jp>
Re: DBT-3 v1.5 Q19 (Re: Proposed Query Planner TODO items) Tom Lane <tgl@sss.pgh.pa.us>
Re: DBT-3 v1.5 Q19 Tatsuo Ishii <t-ishii@sra.co.jp>
Re: Proposed Query Planner TODO items Reini Urban <rurban@x-ray.at>
Re: Proposed Query Planner TODO items Tom Lane <tgl@sss.pgh.pa.us>
Re: Proposed Query Planner TODO items markw@osdl.org
Re: Proposed Query Planner TODO items Tom Lane <tgl@sss.pgh.pa.us>
Re: Proposed Query Planner TODO items markw@osdl.org
Re: Proposed Query Planner TODO items Josh Berkus <josh@agliodbs.com>
Re: Proposed Query Planner TODO items markw@osdl.org
Re: Proposed Query Planner TODO items Jenny Zhang <jenny@osdl.org>
Re: Proposed Query Planner TODO items Josh Berkus <josh@agliodbs.com>
Re: Proposed Query Planner TODO items Jenny Zhang <jenny@osdl.org>
Re: Proposed Query Planner TODO items Tom Lane <tgl@sss.pgh.pa.us>
Re: Proposed Query Planner TODO items markw@osdl.org
Re: Proposed Query Planner TODO items Tom Lane <tgl@sss.pgh.pa.us>
Re: Proposed Query Planner TODO items markw@osdl.org
Re: Proposed Query Planner TODO items Dennis Haney <davh@diku.dk>
Re: Proposed Query Planner TODO items markw@osdl.org
Re: Proposed Query Planner TODO items Dennis Haney <davh@diku.dk>
Re: Proposed Query Planner TODO items Tom Lane <tgl@sss.pgh.pa.us>
Re: Proposed Query Planner TODO items Josh Berkus <josh@agliodbs.com>
Re: Proposed Query Planner TODO items markw@osdl.org
Re: Proposed Query Planner TODO items Josh Berkus <josh@agliodbs.com>
Re: Proposed Query Planner TODO items markw@osdl.org
John,

> > SELECT t1.a, t2.b
> > FROM t1, t2
> > WHERE t1.a = t2.a
> > 	AND t1.c = x
> > 	  AND t1.f IN (m, n, o)
> > 	  AND t2.d = v
> > 	  AND t2.e BETWEEN j AND k
> > UNION ALL

> Shouldn't that be "UNION" instead of "UNION ALL"? You don't want
> duplicate rows, if i'm not mistaken.

Yes, you're correct; I copied UNION ALL from a test case which was not 
generic.  In general, one would want UNION.

-- 
-Josh BerkusAglio Database SolutionsSan Francisco


В списке pgsql-hackers по дате отправления
От: elein
Дата:
От: Greg Stark
Дата:
FAQ