Re: ERROR: invalid restriction selectivity: 224359728.000000

From: xeb(at)mail(dot)ru
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
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:38:44
Message-ID: 200711231038.44980.xeb@mail.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

Really, it seems that is hardware trouble, beacause it works on virtual
machine (KVM), which is buggy enough :(
Thanks.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Greg Smith 2007-11-23 08:51:15 Re: Requesting for a pgadmin3-1.8.0 RPM for SL4
Previous Message Tom Lane 2007-11-23 07:02:45 Re: ERROR: invalid restriction selectivity: 224359728.000000