[postgis-tickets] [SCM] PostGIS branch master updated. 3.3.0rc2-1206-gb21da4cec

git at osgeo.org git at osgeo.org
Tue Jul 11 13:02:45 PDT 2023


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".

The branch, master has been updated
       via  b21da4cec0b1578488baf85834eacaa66e6bd81d (commit)
      from  f44fd54f97146dd3cef22cbb9901ff887438c7f4 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit b21da4cec0b1578488baf85834eacaa66e6bd81d
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Tue Jul 11 13:02:40 2023 -0700

    Remove debug routine as we can no longer feed it the relation id or attribute name from the context available within the analyze hook. Closes #5427

diff --git a/postgis/gserialized_estimate.c b/postgis/gserialized_estimate.c
index ae4f04765..40aa85d65 100644
--- a/postgis/gserialized_estimate.c
+++ b/postgis/gserialized_estimate.c
@@ -1532,16 +1532,6 @@ compute_gserialized_stats_mode(VacAttrStats *stats, AnalyzeAttrFetchFunc fetchfu
 	/* If there's no useful features, we can't work out stats */
 	if ( ! notnull_cnt )
 	{
-#if POSTGIS_DEBUG_LEVEL > 0
-		Oid relation_oid = stats->attr->attrelid;
-		char *relation_name = get_rel_name(relation_oid);
-		char *namespace = get_namespace_name(get_rel_namespace(relation_oid));
-		elog(DEBUG1,
-		     "PostGIS: Unable to compute statistics for \"%s.%s.%s\": No non-null/empty features",
-		     namespace ? namespace : "(NULL)",
-		     relation_name ? relation_name : "(NULL)",
-		     stats->attr->attname.data);
-#endif /* POSTGIS_DEBUG_LEVEL > 0 */
 		stats->stats_valid = false;
 		return;
 	}

-----------------------------------------------------------------------

Summary of changes:
 postgis/gserialized_estimate.c | 10 ----------
 1 file changed, 10 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list