[postgis-tickets] [SCM] PostGIS branch stable-3.1 updated. 3.1.1-41-g7ced53e

git at osgeo.org git at osgeo.org
Fri Jul 2 08:22:41 PDT 2021


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, stable-3.1 has been updated
       via  7ced53e205b65abc0a37e814dce77f4c484da70c (commit)
      from  04f45247bccf9a3955e2c7e6379e7f828c740bfe (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 7ced53e205b65abc0a37e814dce77f4c484da70c
Author: Regina Obe <lr at pcorp.us>
Date:   Fri Jul 2 11:22:33 2021 -0400

    Revert last commit. References #4724

diff --git a/raster/rt_pg/rtpg_statistics.c b/raster/rt_pg/rtpg_statistics.c
index b7bc670..649d7f7 100644
--- a/raster/rt_pg/rtpg_statistics.c
+++ b/raster/rt_pg/rtpg_statistics.c
@@ -850,16 +850,6 @@ Datum RASTER_summaryStats_finalfn(PG_FUNCTION_ARGS)
 		PG_RETURN_NULL();
 	}
 
-	if (NULL == state->stats) {
-		elog(ERROR, "RASTER_summaryStats_finalfn: Cannot compute coverage summary stats");
-		PG_RETURN_NULL();
-	}
-
-	if (NULL == state->stats->count) {
-		elog(ERROR, "RASTER_summaryStats_finalfn: Cannot compute coverage summary stats");
-		PG_RETURN_NULL();
-	}
-
 	/* coverage mean and deviation */
 	if (state->stats->count > 0) {
 		state->stats->mean = state->stats->sum / state->stats->count;

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

Summary of changes:
 raster/rt_pg/rtpg_statistics.c | 10 ----------
 1 file changed, 10 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list