Re: PostgreSQL doesn't use indexes even is enable_seqscan = off

From: Manfred Koizar <mkoi-pg(at)aon(dot)at>
To: Hans-Juergen Schoenig <hs(at)cybertec(dot)at>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: PostgreSQL doesn't use indexes even is enable_seqscan = off
Date: 2002-07-08 16:20:23
Message-ID: 4lejiugf604f2g7n65o6sa7re82rkqpeoc@4ax.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sun, 07 Jul 2002 10:48:51 +0200, Hans-Juergen Schoenig
<hs(at)cybertec(dot)at> wrote:
>I have a severe problem with PostgreSQL 7.2.1.
>CREATE UNIQUE INDEX idx_one_id ON one(id);
> Column | Type | Modifiers
>--------+---------+-----------
> id | bigint |
>cluster=# SELECT * FROM one WHERE id=300000;

Hans, try
SELECT * FROM one WHERE id='300000';
or
SELECT * FROM one WHERE id=300000::bigint;

HTH.
Servus
Manfred

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Doug Fields 2002-07-08 16:20:32 Re: WAL recycling, ext3, Linux 2.4.18
Previous Message Tom Lane 2002-07-08 16:20:00 Re: Bug in 7.2.1? -- ERROR: Adding columns with defaults is not implemented.