Skip site navigation (1) Skip section navigation (2)

Re: [PORTS] Port Bug Report: ERROR: RestrictionClauseSelectivity: bad value 2.213087

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: bram(at)xspace(dot)com
Cc: pgsql-ports(at)postgreSQL(dot)org
Subject: Re: [PORTS] Port Bug Report: ERROR: RestrictionClauseSelectivity: bad value 2.213087
Date: 1999-03-16 04:18:06
Message-ID: 199903160418.XAA29900@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-ports
> --------------------
> All but some spurious select queries with comparisons against
> text fields return a RestrictionClauseSelectivity error.
> 
> src/backend/optimizer/util/plancat.c:
> I modified the function "restriction_selectivity"  
> to accept values from 0.0 - 3.0, instead 0.0 to 1.0...
> 
> This gets rid of the error message, but it probably doesn't
> make for a good engine.
> 

This is fixed in 6.5 beta, due out soon.  Do a vacuum analyze on the
table, and it will be fixed.  The problem is you did an alter table add,
and there was a bug there.

-- 
  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

pgsql-ports by date

Next:From: The Hermit HackerDate: 1999-03-16 05:21:36
Subject: Re: [PORTS] Port Bug Report: The compiler bombs at pgc.l and fails to finish compiling
Previous:From: Unprivileged userDate: 1999-03-16 04:10:16
Subject: Port Bug Report: ERROR: RestrictionClauseSelectivity: bad value 2.213087

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group