Re: ERROR: invalid restriction selectivity: 224359728.000000

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: xeb(at)mail(dot)ru
Cc: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: ERROR: invalid restriction selectivity: 224359728.000000
Date: 2007-11-23 07:02:45
Message-ID: 23514.1195801365@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

xeb(at)mail(dot)ru writes:
> error message in log:
> ERROR: invalid restriction selectivity: 0.000049

[ blink... ] Surely it didn't really say that, because a moment's
glance at the code shows that it's impossible:

if (result < 0.0 || result > 1.0)
elog(ERROR, "invalid restriction selectivity: %f", result);

If it really did say that, then you have either seriously flaky hardware
or a broken compiler. In either case, us mere database weenies can't
help much.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message xeb 2007-11-23 07:38:44 Re: ERROR: invalid restriction selectivity: 224359728.000000
Previous Message Tom Lane 2007-11-23 06:19:05 Re: [GENERAL] possible to create multivalued index from xpath() results in 8.3?