Re: Bug #580: Optimizer uses seq scan only - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Bug #580: Optimizer uses seq scan only
Date
Msg-id 17834.1013469716@sss.pgh.pa.us
Whole thread Raw
In response to Bug #580: Optimizer uses seq scan only  (pgsql-bugs@postgresql.org)
List pgsql-bugs
pgsql-bugs@postgresql.org writes:
> CREATE TABLE test (
>   testid  int8 not null default 0,

> janko=# EXPLAIN SELECT * FROM test WHERE testid = 12345;

Try 12345::int8.  Yes, we know it's a pain in the neck.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: Bug #580: Optimizer uses seq scan only
Next
From: pgsql-bugs@postgresql.org
Date:
Subject: Bug #581: Sequence cannot be deleted