Re: Query planner isn't using my indices
От
Stephan Szabo
Тема
Re: Query planner isn't using my indices
Дата
Msg-id
20020108153541.N64700-100000@megazone23.bigpanda.com
Ответ на
Query planner isn't using my indices (Alaric B. Snell)
Список
Дерево обсуждения
Query planner isn't using my indices "Alaric B. Snell" <abs@frontwire.com>
Re: Query planner isn't using my indices Stephan Szabo <sszabo@megazone23.bigpanda.com>
Re: Query planner isn't using my indices Shaun Thomas <sthomas@townnews.com>
Re: Query planner isn't using my indices Tom Lane <tgl@sss.pgh.pa.us>
Re: Query planner isn't using my indices Stephan Szabo <sszabo@megazone23.bigpanda.com>
Re: Query planner isn't using my indices Tom Lane <tgl@sss.pgh.pa.us>
Re: Query planner isn't using my indices Jason Earl <jason.earl@simplot.com>
Re: Query planner isn't using my indices "Alaric B. Snell" <abs@frontwire.com>
On Tue, 8 Jan 2002, Alaric B. Snell wrote: > frontwire=# \d stakeholder_pk > Index "stakeholder_pk" > Attribute | Type > -----------+-------- > id | bigint > unique btree > > frontwire=# explain select * from stakeholder where id = 1; > NOTICE: QUERY PLAN: > > Seq Scan on stakeholder (cost=0.00..602.81 rows=1 width=336) > See past discussions, you'll need to either explicitly cast the constant to bigint or quote it, because otherwise it prematurely casts the constant into an int4.
В списке pgsql-general по дате отправления