[Git][debian-gis-team/postgis][experimental] 4 commits: New upstream version 3.1.3+dfsg
Bas Couwenberg (@sebastic)
gitlab at salsa.debian.org
Sat Jul 3 05:22:05 BST 2021
Bas Couwenberg pushed to branch experimental at Debian GIS Project / postgis
Commits:
55017648 by Bas Couwenberg at 2021-07-03T05:55:41+02:00
New upstream version 3.1.3+dfsg
- - - - -
bcca6f4a by Bas Couwenberg at 2021-07-03T05:56:26+02:00
Update upstream source from tag 'upstream/3.1.3+dfsg'
Update to upstream version '3.1.3+dfsg'
with Debian dir a174fda32c46d5545612dafe8baa22ad93568764
- - - - -
9d22daa2 by Bas Couwenberg at 2021-07-03T05:58:10+02:00
New upstream release.
- - - - -
943f9f1a by Bas Couwenberg at 2021-07-03T05:59:13+02:00
Set distribution to experimental.
- - - - -
17 changed files:
- ChangeLog
- NEWS
- README.postgis
- Version.config
- debian/changelog
- doc/release_notes.xml
- extensions/address_standardizer/Makefile
- extensions/postgis_raster/Makefile
- extensions/upgradeable_versions.mk
- libpgcommon/lwgeom_pg.c
- postgis/sqldefines.h
- postgis_revision.h
- raster/test/regress/rt_utility.sql
- raster/test/regress/rt_utility_expected
- topology/postgis_topology.c
- topology/test/regress/getringedges.sql
- topology/test/regress/getringedges_expected
Changes:
=====================================
ChangeLog
=====================================
@@ -1,7 +1,45 @@
-2021-05-21 Paul Ramsey <pramsey at cleverelephant.ca>
+2021-07-02 Regina Obe <lr at pcorp.us>
- * NEWS, README.postgis, Version.config, doc/release_notes.xml,
- extensions/upgradeable_versions.mk: 3.1.2 release commit
+ * NEWS, README.postgis, Version.config, doc/release_notes.xml: Add
+ 3.1.2 and 3.1.3 notes to release notes, and prep for 3.1.3 release
+
+2021-07-02 Regina Obe <lr at pcorp.us>
+
+ * raster/test/regress/rt_utility.sql,
+ raster/test/regress/rt_utility_expected: Add test for
+ ST_MinPossibleValue references #4918 for PostGIS 3.1.3
+
+2021-07-02 Regina Obe <lr at pcorp.us>
+
+ * raster/rt_pg/rtpg_statistics.c: Revert last commit. References
+ #4724
+
+2021-07-01 Regina Obe <lr at pcorp.us>
+
+ * raster/rt_pg/rtpg_statistics.c: Fix summaryagg window crash -
+ references #4724 for PostGIS 3.1.3
+
+2021-06-23 Regina Obe <lr at pcorp.us>
+
+ * Version.config, extensions/upgradeable_versions.mk: Update version
+ number
+
+2021-06-16 Sandro Santilli <strk at kbt.io>
+
+ * topology/test/regress/getringedges_expected: Fix expected result,
+ broken in last commit
+
+2021-06-16 Sandro Santilli <strk at kbt.io>
+
+ * NEWS, topology/postgis_topology.c,
+ topology/test/regress/getringedges.sql,
+ topology/test/regress/getringedges_expected: Fix missing user errors
+ from GetRingEdges References #4929 in 3.1 branch (3.1.3dev)
+
+2021-06-14 Regina Obe <lr at pcorp.us>
+
+ * NEWS, libpgcommon/lwgeom_pg.c: Fix PG14 compile
+ FuncnameGetCandidates closes #4927 for PostGIS 3.1.3
2021-05-20 Paul Ramsey <pramsey at cleverelephant.ca>
@@ -101,44 +139,6 @@
2021-03-05 Sandro Santilli <strk at kbt.io>
- * NEWS, topology/test/regress/geometry_cast.sql,
- topology/test/regress/geometry_cast_expected,
- topology/test/tests.mk, topology/topology.sql.in: Fix SRID in
- Geometry(TopoGeometry) for empty TopoGeometry objects Includes testcase and NEWS item References #4871 in 3.1 branch
+ * Fix SRID in Geometry(TopoGeometry) for empty TopoGeometry objects Includes testcase and NEWS item References #4871 in 3.1 branch
(3.1.2dev)
-2021-03-01 Paul Ramsey <pramsey at cleverelephant.ca>
-
- * regress/core/tickets.sql, regress/core/tickets_expected: Address
- differing error messages from Proj 8 and <8. References #4860
-
-2021-02-26 Paul Ramsey <pramsey at cleverelephant.ca>
-
- * NEWS: News item for #4863
-
-2021-02-26 Paul Ramsey <pramsey at cleverelephant.ca>
-
- * liblwgeom/lwgeom.c, regress/core/tickets.sql,
- regress/core/tickets_expected: Ensure bboxes are refreshed after
- cooridinate transforms in scale/affine. References #4863
-
-2021-02-26 Paul Ramsey <pramsey at cleverelephant.ca>
-
- * liblwgeom/cunit/cu_geos.c: Make cunit makevalid test stronger
- relative to different GEOS versions (normalize)
-
-2021-02-18 Paul Ramsey <pramsey at cleverelephant.ca>
-
- * regress/core/tickets.sql, regress/core/tickets_expected: Add tests
- to support earlier projection axis issues, references #4844
-
-2021-02-18 Paul Ramsey <pramsey at cleverelephant.ca>
-
- * : commit 4845b918c3d36d591cd55dd583cbcd28c65e52b1 Author: Paul
- Ramsey <pramsey at cleverelephant.ca> Date: Thu Feb 18 10:15:15 2021
- -0800
-
-2021-02-17 Daniel Baston <dbaston at gmail.com>
-
- * Update NEWS for #4853
-
=====================================
NEWS
=====================================
@@ -1,3 +1,12 @@
+PostGIS 3.1.3
+2021/07/02
+
+* Bug Fixes
+ - #4929, Fix missing error from GetRingEdges when invoked with
+ unexistent topology or edge (Sandro Santilli)
+ - #4927, Fix PostgreSQL 14 compile FuncnameGetCandidates changes
+ (Regina Obe, Julien Rouhaud)
+
PostGIS 3.1.2
2021/05/21
=====================================
README.postgis
=====================================
@@ -1,8 +1,8 @@
PostGIS - Geographic Information Systems Extensions to PostgreSQL
=================================================================
-:Version: 3.1.2
-:Date: 2021-05-21
+:Version: 3.1.3
+:Date: 2021-07-02
:Website: https://postgis.net
This distribution contains a module which implements GIS simple features, ties
=====================================
Version.config
=====================================
@@ -5,7 +5,7 @@
POSTGIS_MAJOR_VERSION=3
POSTGIS_MINOR_VERSION=1
-POSTGIS_MICRO_VERSION=2
+POSTGIS_MICRO_VERSION=3
# Liblwgeom interface versioning, reset to 0:0:0 (cur:age:rev)
# when changing POSTGIS_MINOR_VERSION
=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+postgis (3.1.3+dfsg-1~exp1) experimental; urgency=medium
+
+ * New upstream release.
+
+ -- Bas Couwenberg <sebastic at debian.org> Sat, 03 Jul 2021 05:59:02 +0200
+
postgis (3.1.2+dfsg-1~exp2) experimental; urgency=medium
* Fix regression tests for older PG versions.
=====================================
doc/release_notes.xml
=====================================
@@ -2,26 +2,40 @@
<appendix id="release_notes">
<title>Appendix</title>
<subtitle>Release Notes</subtitle>
-
<sect1>
+ <title>Release 3.1.3</title>
+ <para>Release date: 2021/07/02</para>
+ <simplesect>
+ <title>Bug Fixes</title>
+ <para>#4929, Fix missing error from GetRingEdges when invoked with
+ unexistent topology or edge (Sandro Santilli)</para>
+ <para>#4927, Fix PostgreSQL 14 compile FuncnameGetCandidates changes
+ (Regina Obe, Julien Rouhaud)</para>
+ </simplesect>
+ </sect1>
+
+ <sect1>
<title>Release 3.1.2</title>
<para>Release date: 2021/05/21</para>
<simplesect>
<title>Bug Fixes</title>
- <para>#4871, TopoGeometry::geometry cast returns NULL for empty TopoGeometry objects (Sandro Santilli)</para>
- <para>#4826, postgis_tiger_geocoder Better answers when no zip is provided (Regina Obe)</para>
- <para>#4817, handle more complex compound coordinate dystems (Paul Ramsey)</para>
- <para>#4842, Only do axis flips on CRS that have a "Lat" as the first column (Paul Ramsey)</para>
- <para>Support recent Proj versions that have removed pj_get_release (Paul Ramsey)</para>
- <para>#4835, Adjust tolerance for geodetic calculations (Paul Ramsey)</para>
- <para>#4840, Improper conversion of negative geographic azimuth to positive (Paul Ramsey)</para>
- <para>#4853, DBSCAN cluster not formed when recordset length equal to minPoints (Dan Baston)</para>
- <para>#4863, Update bboxes after scale/affine coordinate changes (Paul Ramsey)</para>
- <para>#4876, Fix raster issues related to PostgreSQL 14 tablefunc changes (Paul Ramsey, Regina Obe)</para>
- <para>#4877, mingw64 PostGIS / PostgreSQL 14 compile (Regina Obe, Tom Lane)</para>
- <para>#4838, Update to support Tiger 2020 (Regina Obe)</para>
- <para>#4890, Change Proj cache lifetime to last as long as connection (Paul Ramsey)</para>
- <para>#4845, Add Pg14 build support (Paul Ramsey)</para>
+ <para>#4871, TopoGeometry::geometry cast returns NULL for empty
+ TopoGeometry objects (Sandro Santilli)</para>
+ <para>#4826, postgis_tiger_geocoder Better answers when no zip is provided
+ (Regina Obe)</para>
+ <para>#4817, handle more complex compound coordinate dystems (Paul Ramsey)</para>
+ <para>#4842, Only do axis flips on CRS that have a "Lat" as the first column (Paul Ramsey)
+ - Support recent Proj versions that have removed pj_get_release (Paul Ramsey)</para>
+ <para>#4835, Adjust tolerance for geodetic calculations (Paul Ramsey)</para>
+ <para>#4840, Improper conversion of negative geographic azimuth to positive (Paul Ramsey)</para>
+ <para>#4853, DBSCAN cluster not formed when recordset length equal to minPoints (Dan Baston)</para>
+ <para>#4863, Update bboxes after scale/affine coordinate changes (Paul Ramsey)</para>
+ <para>#4876, Fix raster issues related to PostgreSQL 14 tablefunc changes
+ (Paul Ramsey, Regina Obe)</para>
+ <para>#4877, mingw64 PostGIS / PostgreSQL 14 compile (Regina Obe, Tom Lane)</para>
+ <para>#4838, Update to support Tiger 2020 (Regina Obe)</para>
+ <para>#4890, Change Proj cache lifetime to last as long as connection (Paul Ramsey)</para>
+ <para>#4845, Add Pg14 build support (Paul Ramsey)</para>
</simplesect>
</sect1>
=====================================
extensions/address_standardizer/Makefile
=====================================
@@ -30,7 +30,7 @@ POSTGIS_PGSQL_VERSION=96
# SQL preprocessor
SQLPP = /usr/bin/cpp -traditional-cpp -w -P
GREP=/bin/grep
-EXTVERSION = 3.1.2
+EXTVERSION = 3.1.3
MODULE_big = address_standardizer-3
MODULEPATH = $$libdir/address_standardizer-3
ifeq (no,yes)
@@ -46,7 +46,7 @@ DATA_built = \
$(NULL)
all: sql/address_standardizer.sql sql/address_standardizer--1.0--$(EXTVERSION).sql sql/$(EXTENSION)--$(EXTVERSION).sql sql/$(EXTENSION)--ANY--$(EXTVERSION).sql \
- sql/$(EXTENSION)_data_us.sql sql/address_standardizer--3.1.2.sql sql/$(EXTENSION)_data_us--3.1.2.sql sql/$(EXTENSION)_data_us--$(EXTVERSION)--$(EXTVERSION)next.sql \
+ sql/$(EXTENSION)_data_us.sql sql/address_standardizer--3.1.3.sql sql/$(EXTENSION)_data_us--3.1.3.sql sql/$(EXTENSION)_data_us--$(EXTVERSION)--$(EXTVERSION)next.sql \
sql/$(EXTENSION)_data_us--$(EXTVERSION)next--$(EXTVERSION).sql \
sql/test-init-extensions.sql sql/test-parseaddress.sql sql/test-standardize_address_1.sql sql/test-standardize_address_2.sql
@@ -74,7 +74,7 @@ sql/%.sql: %.sql.in
| sed -e 's|@EXTVERSION@|$(EXTVERSION)|g' \
> $@
-sql/address_standardizer--3.1.2.sql: sql/address_standardizer_types.sql \
+sql/address_standardizer--3.1.3.sql: sql/address_standardizer_types.sql \
sql/address_standardizer_functions.sql
mkdir -p sql
cat $^ > $@
=====================================
extensions/postgis_raster/Makefile
=====================================
@@ -1,7 +1,7 @@
include ../upgradeable_versions.mk
EXTENSION = postgis_raster
-EXTVERSION = 3.1.2
+EXTVERSION = 3.1.3
MINORVERSION = 3.1
MODULEPATH = $$libdir/$(EXTENSION)-3
=====================================
extensions/upgradeable_versions.mk
=====================================
@@ -60,4 +60,4 @@ UPGRADEABLE_VERSIONS = \
3.0.3 \
3.1.0 \
3.1.1 \
- 3.1.2dev
+ 3.1.2
=====================================
libpgcommon/lwgeom_pg.c
=====================================
@@ -118,7 +118,11 @@ postgis_get_full_version_schema()
{
const char* proname = "postgis_full_version";
List* names = stringToQualifiedNameList(proname);
+ #if POSTGIS_PGSQL_VERSION < 140
FuncCandidateList clist = FuncnameGetCandidates(names, -1, NIL, false, false, false);
+ #else
+ FuncCandidateList clist = FuncnameGetCandidates(names, -1, NIL, false, false, false, false);
+ #endif
if (!clist)
return InvalidOid;
=====================================
postgis/sqldefines.h
=====================================
@@ -10,7 +10,7 @@
#define POSTGIS_PGSQL_HR_VERSION 9.6
#define POSTGIS_GEOS_VERSION 36
#define POSTGIS_PROJ_VERSION 72
-#define POSTGIS_LIB_VERSION '3.1.2'
+#define POSTGIS_LIB_VERSION '3.1.3'
#define POSTGIS_LIBXML2_VERSION 2.9.10
#define POSTGIS_SFCGAL_VERSION 10308
@@ -40,7 +40,7 @@
* won't substitute within apostrophes)
*/
#define _POSTGIS_SQL_SELECT_POSTGIS_VERSION 'SELECT ''3.1 USE_GEOS=1 USE_PROJ=1 USE_STATS=1''::text AS version'
-#define _POSTGIS_SQL_SELECT_POSTGIS_BUILD_DATE 'SELECT ''2021-05-21 23:05:20''::text AS version'
+#define _POSTGIS_SQL_SELECT_POSTGIS_BUILD_DATE 'SELECT ''2021-07-02 22:43:01''::text AS version'
#define _POSTGIS_SQL_SELECT_POSTGIS_PGSQL_VERSION 'SELECT ''96''::text AS version'
#ifdef POSTGIS_REVISION
@@ -50,9 +50,9 @@
* which means we need to then trim it to get rid of the extra spaces we added.
* Maybe someone smarter can come up with a less goofy solution that makes all OS happy
*/
-#define _POSTGIS_SQL_SELECT_POSTGIS_SCRIPTS_VERSION $$ SELECT trim('3.1.2'::text || $rev$ POSTGIS_REVISION $rev$) AS version $$
+#define _POSTGIS_SQL_SELECT_POSTGIS_SCRIPTS_VERSION $$ SELECT trim('3.1.3'::text || $rev$ POSTGIS_REVISION $rev$) AS version $$
#else
-#define _POSTGIS_SQL_SELECT_POSTGIS_SCRIPTS_VERSION $$ SELECT '3.1.2'::text AS version $$
+#define _POSTGIS_SQL_SELECT_POSTGIS_SCRIPTS_VERSION $$ SELECT '3.1.3'::text AS version $$
#endif
#define SRID_USR_MAX 998999
=====================================
postgis_revision.h
=====================================
@@ -1 +1 @@
-#define POSTGIS_REVISION cbe925d
+#define POSTGIS_REVISION 008d2db
=====================================
raster/test/regress/rt_utility.sql
=====================================
@@ -401,6 +401,7 @@ SELECT 'test 11.8', st_minpossiblevalue('32BUI') = 0.;
SELECT 'test 11.9', st_minpossiblevalue('32BSI') < 0.;
SELECT 'test 11.10', st_minpossiblevalue('32BF') < 0.;
SELECT 'test 11.11', st_minpossiblevalue('64BF') < 0.;
+SELECT '#4918', ST_MinPossibleValue('');
DROP TABLE rt_utility_test;
=====================================
raster/test/regress/rt_utility_expected
=====================================
@@ -31,6 +31,7 @@ test 11.8|t
test 11.9|t
test 11.10|t
test 11.11|t
+ERROR: RASTER_minPossibleValue: Invalid pixel type:
Raster of 10x10 pixels has 3 bands and extent of BOX(0 -10,10 0)
band 1 of pixtype 8BUI is in-db with NODATA value of 0
band 2 of pixtype 32BF is in-db with NODATA value of -9999
=====================================
topology/postgis_topology.c
=====================================
@@ -1203,6 +1203,12 @@ cb_getRingEdges(const LWT_BE_TOPOLOGY *topo, LWT_ELEMID edge, uint64_t *numelems
*numelems = SPI_processed;
if ( ! SPI_processed )
{
+ cberror(
+ topo->be_data,
+ "No edge with id %" LWTFMT_ELEMID" in Topology \"%s\"",
+ ABS(edge),
+ topo->name
+ );
return NULL;
}
if (limit && *numelems == (uint64_t)limit)
@@ -5056,8 +5062,8 @@ Datum GetRingEdges(PG_FUNCTION_ARGS)
pfree(toponame);
if ( ! topo )
{
- /* should never reach this point, as lwerror would raise an exception */
SPI_finish();
+ lwpgerror("%s", cb_lastErrorMessage(&be_data));
PG_RETURN_NULL();
}
@@ -5068,8 +5074,8 @@ Datum GetRingEdges(PG_FUNCTION_ARGS)
if ( ! elems )
{
- /* should never reach this point, as lwerror would raise an exception */
SPI_finish();
+ lwpgerror("%s", cb_lastErrorMessage(&be_data));
PG_RETURN_NULL();
}
=====================================
topology/test/regress/getringedges.sql
=====================================
@@ -2,6 +2,11 @@ set client_min_messages to ERROR;
\i ../load_topology.sql
+-- Test bogus calls
+SELECT 'non-existent-topo', topology.GetRingEdges('non-existent', 1);
+SELECT 'non-existent-edge', topology.GetRingEdges('city_data', 10000000);
+SELECT 'non-existent-edge-negative', topology.GetRingEdges('city_data', -10000000);
+
SELECT 'R'||edge_id, (topology.GetRingEdges('city_data', edge_id)).*
FROM city_data.edge;
=====================================
topology/test/regress/getringedges_expected
=====================================
@@ -2,6 +2,9 @@ t
9
22
26
+ERROR: No topology with name "non-existent" in topology.topology
+ERROR: No edge with id 10000000 in Topology "city_data"
+ERROR: No edge with id 10000000 in Topology "city_data"
R1|1|1
R2|1|2
R2|2|3
View it on GitLab: https://salsa.debian.org/debian-gis-team/postgis/-/compare/ec321a00ae77e7a7f0ab34eb75ccd36ad4a40e40...943f9f1ae4dc2e879df748328928720741291dd2
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/postgis/-/compare/ec321a00ae77e7a7f0ab34eb75ccd36ad4a40e40...943f9f1ae4dc2e879df748328928720741291dd2
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20210703/9fd26398/attachment-0001.htm>
More information about the Pkg-grass-devel
mailing list