I originally posted this in Postgresql mailing list and the reply is that this is a PostGis matter: When I run Analyze I get the following notice repeated for many of my tables: NOTICE: no notnull values, invalid stats Is this just refering to my empty tables?