Re: [HACKERS] alter table bug???

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: terry(at)terrym(dot)com
Cc: hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] alter table bug???
Date: 1998-12-11 16:22:46
Message-ID: 199812111622.LAA12403@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Indices: listings_pkey
> listings_url_key
> lse=> select * from listings where password = '093b7a6b';
> ERROR: RestrictionClauseSelectivity: bad value 2.164003
> lse=> select password from listings where item_id = 1;
> password
> ----------
> 093b7a6b
> (1 row)
>
> lse=>
>
> Any ideas what that is all about?

VACUUM ANALYZE the table and see if that fixes it.

--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1998-12-11 16:25:53 Re: [HACKERS] 6.4.1 release
Previous Message Hannu Krosing 1998-12-11 16:02:51 Re: [HACKERS] 6.4.1 release