[SCM] PostGIS branch master updated. 3.5.0-43-g811202918

git at osgeo.org git at osgeo.org
Tue Nov 5 09:49:40 PST 2024


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  81120291808f7e0461a3238cce324de1cff56335 (commit)
      from  c8c345428bcb5f3b07d09a96e05cd8bbfcb07a28 (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 81120291808f7e0461a3238cce324de1cff56335
Author: Regina Obe <lr at pcorp.us>
Date:   Tue Nov 5 12:48:51 2024 -0500

    Get rid of COST ifdef for PostgreSQL < 12
    We no longer support PostgreSQL < 12 so not needed

diff --git a/postgis/sqldefines.h.in b/postgis/sqldefines.h.in
index e7c2be2ff..d8bbfa312 100644
--- a/postgis/sqldefines.h.in
+++ b/postgis/sqldefines.h.in
@@ -22,17 +22,10 @@
  * See https://trac.osgeo.org/postgis/ticket/3675
  * for sideffects of costing inlined SQL.
  */
-#if POSTGIS_PGSQL_VERSION >= 120
 #define _COST_DEFAULT COST 1
 #define _COST_LOW COST 50
 #define _COST_MEDIUM COST 250
 #define _COST_HIGH COST 5000
-#else
-#define _COST_DEFAULT COST 1
-#define _COST_LOW COST 1
-#define _COST_MEDIUM COST 10
-#define _COST_HIGH COST 10
-#endif
 
 /*
  * Define the build date and the version number

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

Summary of changes:
 postgis/sqldefines.h.in | 7 -------
 1 file changed, 7 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list