xeb@xxxxxxx 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 ---------------------------(end of broadcast)--------------------------- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to majordomo@xxxxxxxxxxxxxx so that your message can get through to the mailing list cleanly