postgis_estimate.c does not compile with the CVS version of postgres. I don't know much about it, can the author check it ? It's canonicalize_qual() signature that have changed.. --strk;