[postgis-tickets] r17781 - Be less assertive in debug message printed when missing table stats

Sandro Santilli strk at kbt.io
Thu Aug 29 01:59:26 PDT 2019


Author: strk
Date: 2019-08-29 01:59:26 -0700 (Thu, 29 Aug 2019)
New Revision: 17781

Modified:
   trunk/postgis/gserialized_estimate.c
Log:
Be less assertive in debug message printed when missing table stats

... running ANALYZE won't always fix the missing stats

Modified: trunk/postgis/gserialized_estimate.c
===================================================================
--- trunk/postgis/gserialized_estimate.c	2019-08-28 14:37:34 UTC (rev 17780)
+++ trunk/postgis/gserialized_estimate.c	2019-08-29 08:59:26 UTC (rev 17781)
@@ -2259,7 +2259,7 @@
 
 	if (!vardata.statsTuple)
 	{
-		elog(DEBUG1, "%s: no statistics available on table, run ANALYZE", __func__);
+		elog(DEBUG1, "%s: no statistics available on table, run ANALYZE?", __func__);
 		return DEFAULT_ND_SEL;
 	}
 



More information about the postgis-tickets mailing list