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