Update to 3.1.1

This commit is contained in:
Sandro Mani 2021-01-29 10:40:53 +01:00
parent f099e868b3
commit 6d338f458e
5 changed files with 18 additions and 419 deletions

2
.gitignore vendored
View File

@ -11,3 +11,5 @@
/postgis-3.0.3.pdf
/postgis-3.1.0.pdf
/postgis-3.1.0.tar.gz
/postgis-3.1.1.tar.gz
/postgis-3.1.1.pdf

View File

@ -1,406 +0,0 @@
diff -rupN --no-dereference postgis-3.0.2/raster/test/regress/rt_gdalwarp_expected postgis-3.0.2-new/raster/test/regress/rt_gdalwarp_expected
--- postgis-3.0.2/raster/test/regress/rt_gdalwarp_expected 2020-08-15 21:33:46.000000000 +0200
+++ postgis-3.0.2-new/raster/test/regress/rt_gdalwarp_expected 2020-11-12 05:15:08.610489276 +0100
@@ -8,28 +8,16 @@ NOTICE: Raster has default geotransform
NOTICE: Values must be provided for both X and Y when specifying the scale. Returning original raster
NOTICE: Values must be provided for both X and Y when specifying the scale. Returning original raster
0.0|||||||||||||
-0.1|993310|12|12|1|1009.894|-1009.894|0.000|0.000|950732.188|1409281.783|t|t|t
0.10|992163|10|10|1|1000.000|-1000.000|0.000|0.000|-500000.000|600000.000|t|t|t
0.11|992163|11|10|1|1000.000|-1000.000|0.000|0.000|-500001.000|600000.000|t|t|t
0.12|992163|10|11|1|1000.000|-1000.000|0.000|0.000|-500000.000|600009.000|t|t|t
0.13|992163|11|11|1|1000.000|-1000.000|0.000|0.000|-500100.000|600950.000|t|t|t
0.14|992163|201|201|1|50.000|50.000|0.000|0.000|-500040.000|589957.000|t|t|t
0.15|992163|84|84|1|121.000|121.000|0.000|0.000|-500093.000|589875.000|t|t|t
-0.16|993310|243|243|1|50.000|50.000|0.000|0.000|950710.000|1397157.000|t|t|t
-0.17|993310|243|243|1|50.000|50.000|0.000|0.000|950710.000|1397157.000|t|t|t
0.18|992163|10|10|1|1000.000|-1000.000|3.000|3.000|-500030.000|600000.000|t|t|t
-0.19|993310|12|12|1|1009.894|-1009.894|3.000|3.000|950691.792|1409281.783|t|t|t
-0.2|993310|12|12|1|1009.894|-1009.894|0.000|0.000|950732.188|1409281.783|t|t|t
-0.20|993310|12|12|1|1009.894|-1009.894|1.000|3.000|950711.990|1409281.783|t|t|t
-0.21|993310|24|24|1|500.000|500.000|3.000|3.000|950657.188|1397356.783|t|t|t
-0.22|993310|26|26|1|500.000|500.000|0.000|6.000|950452.000|1396632.000|t|t|t
-0.23|984269|12|8|1|0.012|-0.012|0.000|0.000|-107.029|50.206|t|t|t
-0.24|974269|12|8|1|0.012|-0.012|0.000|0.000|-107.029|50.206|t|t|t
0.25|0|5|5|1|2.000|-2.000|0.000|0.000|0.000|0.000|t|t|t
0.26|0|2|2|1|5.000|-5.000|0.000|0.000|0.000|0.000|t|t|t
0.27|0|100|100|1|0.100|-0.100|0.000|0.000|0.000|0.000|t|t|t
-0.3|994269|12|8|1|0.012|-0.012|0.000|0.000|-107.029|50.206|t|t|t
-0.4|993310|24|24|1|500.000|500.000|0.000|0.000|950732.188|1397281.783|t|t|t
0.5|992163|10|10|1|1000.000|-1000.000|0.000|0.000|-500000.000|600000.000|t|t|t
0.6|992163|10|10|1|1000.000|-1000.000|0.000|0.000|-500000.000|600000.000|t|t|t
0.7|992163|20|20|1|500.000|500.000|0.000|0.000|-500000.000|590000.000|t|t|t
@@ -61,21 +49,8 @@ NOTICE: Values must be provided for bot
1.7|992163|40|40|1|250.000|250.000|0.000|0.000|-500000.000|590000.000|t|t|t
1.8|992163|10|10|1|1000.000|-1000.000|0.000|0.000|-500000.000|600000.000|t|t|t
1.9|992163|11|10|1|1000.000|-1000.000|0.000|0.000|-500001.000|600000.000|t|t|t
-2.1|993310|12|12|1|1009.894|-1009.894|0.000|0.000|950732.188|1409281.783|t|t|t
-2.10|993310|24|24|1|500.000|500.000|0.000|0.000|950732.188|1397281.783|t|t|t
-2.11|993310|121|121|1|100.000|100.000|0.000|0.000|950732.188|1397181.783|t|t|t
-2.12|993310|6|6|1|2000.000|2000.000|0.000|0.000|950732.188|1397281.783|t|t|t
-2.13|993310|8|8|1|1500.000|1500.000|0.000|0.000|950732.188|1397281.783|t|t|t
-2.14|993310|24|24|1|500.000|500.000|0.000|0.000|950732.188|1397281.783|t|t|t
-2.15|993310|16|16|1|750.000|750.000|0.000|0.000|950732.188|1397281.783|t|t|t
-2.2|993310|12|12|1|1009.894|-1009.894|0.000|0.000|950732.188|1409281.783|t|t|t
-2.3|994269|12|8|1|0.012|-0.012|0.000|0.000|-107.029|50.206|t|t|t
2.4|||||||||||||
-2.5|993310|12|12|1|1009.894|-1009.894|0.000|0.000|950732.188|1409281.783|t|t|t
2.6|||||||||||||
-2.7|993310|12|12|1|1009.894|-1009.894|0.000|0.000|950732.188|1409281.783|t|t|t
-2.8|993310|12|12|1|1009.894|-1009.894|0.000|0.000|950732.188|1409281.783|t|t|t
-2.9|993310|12|12|1|1009.894|-1009.894|0.000|0.000|950732.188|1409281.783|t|t|t
3.1|992163|100|100|1|100.000|100.000|0.000|0.000|-500000.000|590000.000|t|t|t
3.2|992163|100|100|1|100.000|100.000|0.000|0.000|-500000.000|590000.000|t|t|t
3.3|992163|10|10|1|1000.000|-1000.000|0.000|0.000|-500000.000|600000.000|t|t|t
diff -rupN --no-dereference postgis-3.0.2/raster/test/regress/rt_gdalwarp.sql postgis-3.0.2-new/raster/test/regress/rt_gdalwarp.sql
--- postgis-3.0.2/raster/test/regress/rt_gdalwarp.sql 2020-08-15 21:33:46.000000000 +0200
+++ postgis-3.0.2-new/raster/test/regress/rt_gdalwarp.sql 2020-11-12 05:15:08.610489276 +0100
@@ -54,33 +54,33 @@ INSERT INTO raster_gdalwarp_dst (rid, ra
NULL
))
), (
- 0.1, (SELECT _st_gdalwarp(
- rast,
- 'NearestNeighbour', 0.125,
- 993310
- ) FROM raster_gdalwarp_src)
-), (
- 0.2, (SELECT _st_gdalwarp(
- rast,
- 'NearestNeighbour', 0.125,
- 993310
- ) FROM raster_gdalwarp_src)
-), (
- 0.3, (SELECT _st_gdalwarp(
- rast,
- 'NearestNeighbour', 0.125,
- 994269
- ) FROM raster_gdalwarp_src)
-), (
- 0.4, (SELECT _st_gdalwarp(
- rast,
- 'NearestNeighbor', 0.125,
- 993310,
- 500., 500.,
- NULL, NULL,
- 0, 0
- ) FROM raster_gdalwarp_src)
-), (
+-- 0.1, (SELECT _st_gdalwarp(
+-- rast,
+-- 'NearestNeighbour', 0.125,
+-- 993310
+-- ) FROM raster_gdalwarp_src)
+-- ), (
+-- 0.2, (SELECT _st_gdalwarp(
+-- rast,
+-- 'NearestNeighbour', 0.125,
+-- 993310
+-- ) FROM raster_gdalwarp_src)
+-- ), (
+-- 0.3, (SELECT _st_gdalwarp(
+-- rast,
+-- 'NearestNeighbour', 0.125,
+-- 994269
+-- ) FROM raster_gdalwarp_src)
+-- ), (
+-- 0.4, (SELECT _st_gdalwarp(
+-- rast,
+-- 'NearestNeighbor', 0.125,
+-- 993310,
+-- 500., 500.,
+-- NULL, NULL,
+-- 0, 0
+-- ) FROM raster_gdalwarp_src)
+-- ), (
0.5, (SELECT _st_gdalwarp(
rast,
'NearestNeighbor', 0.125,
@@ -168,22 +168,22 @@ INSERT INTO raster_gdalwarp_dst (rid, ra
0, 0
) FROM raster_gdalwarp_src)
), (
- 0.16, (SELECT _st_gdalwarp(
- rast,
- 'NearestNeighbor', 0.125,
- 993310,
- 50., 50.,
- -290, 7
- ) FROM raster_gdalwarp_src)
-), (
- 0.17, (SELECT _st_gdalwarp(
- rast,
- 'NearestNeighbor', 0.125,
- 993310,
- 50., 50.,
- -290, 7
- ) FROM raster_gdalwarp_src)
-), (
+-- 0.16, (SELECT _st_gdalwarp(
+-- rast,
+-- 'NearestNeighbor', 0.125,
+-- 993310,
+-- 50., 50.,
+-- -290, 7
+-- ) FROM raster_gdalwarp_src)
+-- ), (
+-- 0.17, (SELECT _st_gdalwarp(
+-- rast,
+-- 'NearestNeighbor', 0.125,
+-- 993310,
+-- 50., 50.,
+-- -290, 7
+-- ) FROM raster_gdalwarp_src)
+-- ), (
0.18, (SELECT _st_gdalwarp(
rast,
'NearestNeighbor', 0.125,
@@ -193,54 +193,54 @@ INSERT INTO raster_gdalwarp_dst (rid, ra
3, 3
) FROM raster_gdalwarp_src)
), (
- 0.19, (SELECT _st_gdalwarp(
- rast,
- 'Cubic', 0,
- 993310,
- NULL, NULL,
- NULL, NULL,
- 3, 3
- ) FROM raster_gdalwarp_src)
-), (
- 0.20, (SELECT _st_gdalwarp(
- rast,
- 'Bilinear', 0.125,
- 993310,
- NULL, NULL,
- NULL, NULL,
- 1, 3
- ) FROM raster_gdalwarp_src)
-), (
- 0.21, (SELECT _st_gdalwarp(
- rast,
- 'Cubic', 0,
- 993310,
- 500., 500.,
- NULL, NULL,
- 3, 3
- ) FROM raster_gdalwarp_src)
-), (
- 0.22, (SELECT _st_gdalwarp(
- rast,
- 'CubicSpline', 0.125,
- 993310,
- 500., 500.,
- -12048, 14682,
- 0, 6
- ) FROM raster_gdalwarp_src)
-), (
- 0.23, (SELECT _st_gdalwarp(
- rast,
- 'NearestNeighbor', 0.125,
- 984269
- ) FROM raster_gdalwarp_src)
-), (
- 0.24, (SELECT _st_gdalwarp(
- rast,
- 'NearestNeighbor', 0.125,
- 974269
- ) FROM raster_gdalwarp_src)
-), (
+-- 0.19, (SELECT _st_gdalwarp(
+-- rast,
+-- 'Cubic', 0,
+-- 993310,
+-- NULL, NULL,
+-- NULL, NULL,
+-- 3, 3
+-- ) FROM raster_gdalwarp_src)
+-- ), (
+-- 0.20, (SELECT _st_gdalwarp(
+-- rast,
+-- 'Bilinear', 0.125,
+-- 993310,
+-- NULL, NULL,
+-- NULL, NULL,
+-- 1, 3
+-- ) FROM raster_gdalwarp_src)
+-- ), (
+-- 0.21, (SELECT _st_gdalwarp(
+-- rast,
+-- 'Cubic', 0,
+-- 993310,
+-- 500., 500.,
+-- NULL, NULL,
+-- 3, 3
+-- ) FROM raster_gdalwarp_src)
+-- ), (
+-- 0.22, (SELECT _st_gdalwarp(
+-- rast,
+-- 'CubicSpline', 0.125,
+-- 993310,
+-- 500., 500.,
+-- -12048, 14682,
+-- 0, 6
+-- ) FROM raster_gdalwarp_src)
+-- ), (
+-- 0.23, (SELECT _st_gdalwarp(
+-- rast,
+-- 'NearestNeighbor', 0.125,
+-- 984269
+-- ) FROM raster_gdalwarp_src)
+-- ), (
+-- 0.24, (SELECT _st_gdalwarp(
+-- rast,
+-- 'NearestNeighbor', 0.125,
+-- 974269
+-- ) FROM raster_gdalwarp_src)
+-- ), (
0.25, (SELECT _st_gdalwarp(
ST_SetGeoReference(ST_SetSRID(rast, 0), '1 0 0 -1 0 0'),
'NearestNeighbor', 0.125,
@@ -438,80 +438,80 @@ INSERT INTO raster_gdalwarp_dst (rid, ra
-- ST_Transform
INSERT INTO raster_gdalwarp_dst (rid, rast) VALUES (
- 2.1, (SELECT ST_Transform(
- rast,
- 993310
- ) FROM raster_gdalwarp_src)
-), (
- 2.2, (SELECT ST_Transform(
- rast,
- 993310
- ) FROM raster_gdalwarp_src)
-), (
- 2.3, (SELECT ST_Transform(
- rast,
- 994269
- ) FROM raster_gdalwarp_src)
-), (
+-- 2.1, (SELECT ST_Transform(
+-- rast,
+-- 993310
+-- ) FROM raster_gdalwarp_src)
+-- ), (
+-- 2.2, (SELECT ST_Transform(
+-- rast,
+-- 993310
+-- ) FROM raster_gdalwarp_src)
+-- ), (
+-- 2.3, (SELECT ST_Transform(
+-- rast,
+-- 994269
+-- ) FROM raster_gdalwarp_src)
+-- ), (
2.4, (SELECT ST_Transform(
rast,
993310, NULL
) FROM raster_gdalwarp_src)
), (
- 2.5, (SELECT ST_Transform(
- rast,
- 993310, 'Bilinear'
- ) FROM raster_gdalwarp_src)
-), (
+-- 2.5, (SELECT ST_Transform(
+-- rast,
+-- 993310, 'Bilinear'
+-- ) FROM raster_gdalwarp_src)
+-- ), (
2.6, (SELECT ST_Transform(
rast,
993310, 'Bilinear', NULL::double precision
) FROM raster_gdalwarp_src)
-), (
- 2.7, (SELECT ST_Transform(
- rast,
- 993310, 'Cubic', 0.0
- ) FROM raster_gdalwarp_src)
-), (
- 2.8, (SELECT ST_Transform(
- rast,
- 993310, 'NearestNeighbour', 0.0
- ) FROM raster_gdalwarp_src)
-), (
- 2.9, (SELECT ST_Transform(
- rast,
- 993310, 'NearestNeighbor', 0.0
- ) FROM raster_gdalwarp_src)
-), (
- 2.10, (SELECT ST_Transform(
- rast,
- 993310, 'NearestNeighbor', 0.125, 500, 500
- ) FROM raster_gdalwarp_src)
-), (
- 2.11, (SELECT ST_Transform(
- rast,
- 993310, 'Cubic', 0., 100, 100
- ) FROM raster_gdalwarp_src)
-), (
- 2.12, (SELECT ST_Transform(
- rast,
- 993310, 'CubicSpline', 0., 2000, 2000
- ) FROM raster_gdalwarp_src)
-), (
- 2.13, (SELECT ST_Transform(
- rast,
- 993310, 'CubicSpline', 0.1, 1500, 1500
- ) FROM raster_gdalwarp_src)
-), (
- 2.14, (SELECT ST_Transform(
- rast,
- 993310, 500, 500
- ) FROM raster_gdalwarp_src)
-), (
- 2.15, (SELECT ST_Transform(
- rast,
- 993310, 750
- ) FROM raster_gdalwarp_src)
+-- ), (
+-- 2.7, (SELECT ST_Transform(
+-- rast,
+-- 993310, 'Cubic', 0.0
+-- ) FROM raster_gdalwarp_src)
+-- ), (
+-- 2.8, (SELECT ST_Transform(
+-- rast,
+-- 993310, 'NearestNeighbour', 0.0
+-- ) FROM raster_gdalwarp_src)
+-- ), (
+-- 2.9, (SELECT ST_Transform(
+-- rast,
+-- 993310, 'NearestNeighbor', 0.0
+-- ) FROM raster_gdalwarp_src)
+-- ), (
+-- 2.10, (SELECT ST_Transform(
+-- rast,
+-- 993310, 'NearestNeighbor', 0.125, 500, 500
+-- ) FROM raster_gdalwarp_src)
+-- ), (
+-- 2.11, (SELECT ST_Transform(
+-- rast,
+-- 993310, 'Cubic', 0., 100, 100
+-- ) FROM raster_gdalwarp_src)
+-- ), (
+-- 2.12, (SELECT ST_Transform(
+-- rast,
+-- 993310, 'CubicSpline', 0., 2000, 2000
+-- ) FROM raster_gdalwarp_src)
+-- ), (
+-- 2.13, (SELECT ST_Transform(
+-- rast,
+-- 993310, 'CubicSpline', 0.1, 1500, 1500
+-- ) FROM raster_gdalwarp_src)
+-- ), (
+-- 2.14, (SELECT ST_Transform(
+-- rast,
+-- 993310, 500, 500
+-- ) FROM raster_gdalwarp_src)
+-- ), (
+-- 2.15, (SELECT ST_Transform(
+-- rast,
+-- 993310, 750
+-- ) FROM raster_gdalwarp_src)
);
-- ST_Rescale

View File

@ -14,8 +14,8 @@
%global __provides_exclude_from %{_libdir}/pgsql
Name: postgis
Version: %majorversion.0
Release: 3%{?commit:.git%shortcommit}%{?dist}
Version: %majorversion.1
Release: 1%{?commit:.git%shortcommit}%{?dist}
Summary: Geographic Information Systems Extensions to PostgreSQL
License: GPLv2+
@ -344,6 +344,9 @@ fi
%changelog
* Fri Jan 29 2021 Sandro Mani <manisandro@gmail.com> - 3.1.1-1
- Update to 3.1.1
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

View File

@ -1,6 +1,6 @@
diff -rupN --no-dereference postgis-3.0.3/regress/core/interrupt_buffer.sql postgis-3.0.3-new/regress/core/interrupt_buffer.sql
--- postgis-3.0.3/regress/core/interrupt_buffer.sql 2020-11-21 01:48:34.000000000 +0100
+++ postgis-3.0.3-new/regress/core/interrupt_buffer.sql 2020-11-23 10:20:56.102865505 +0100
diff -rupN --no-dereference postgis-3.1.1/regress/core/interrupt_buffer.sql postgis-3.1.1-new/regress/core/interrupt_buffer.sql
--- postgis-3.1.1/regress/core/interrupt_buffer.sql 2021-01-28 20:10:32.000000000 +0100
+++ postgis-3.1.1-new/regress/core/interrupt_buffer.sql 2021-01-29 10:14:02.621993471 +0100
@@ -36,7 +36,7 @@ select ST_Buffer(g,100) from _inputs WHE
--( select (st_dumppoints(st_buffer(st_makepoint(0,0),10000,100000))).geom g) foo;
-- it may take some more to interrupt st_buffer, see
@ -10,9 +10,9 @@ diff -rupN --no-dereference postgis-3.0.3/regress/core/interrupt_buffer.sql post
-- Not affected by old timeout
SELECT '1', ST_NPoints(ST_Buffer('POINT(4 0)'::geometry, 2, 1));
diff -rupN --no-dereference postgis-3.0.3/regress/core/interrupt_relate.sql postgis-3.0.3-new/regress/core/interrupt_relate.sql
--- postgis-3.0.3/regress/core/interrupt_relate.sql 2020-11-21 01:48:34.000000000 +0100
+++ postgis-3.0.3-new/regress/core/interrupt_relate.sql 2020-11-23 10:20:56.103865502 +0100
diff -rupN --no-dereference postgis-3.1.1/regress/core/interrupt_relate.sql postgis-3.1.1-new/regress/core/interrupt_relate.sql
--- postgis-3.1.1/regress/core/interrupt_relate.sql 2021-01-28 20:10:32.000000000 +0100
+++ postgis-3.1.1-new/regress/core/interrupt_relate.sql 2021-01-29 10:14:02.621993471 +0100
@@ -34,29 +34,29 @@ UPDATE _time SET t = now(); -- reset tim
SET statement_timeout TO 100;
@ -51,9 +51,9 @@ diff -rupN --no-dereference postgis-3.0.3/regress/core/interrupt_relate.sql post
+SELECT _timecheck('relate', '750ms');
DROP FUNCTION _timecheck(text, interval);
diff -rupN --no-dereference postgis-3.0.3/regress/core/interrupt.sql postgis-3.0.3-new/regress/core/interrupt.sql
--- postgis-3.0.3/regress/core/interrupt.sql 2020-11-21 01:48:34.000000000 +0100
+++ postgis-3.0.3-new/regress/core/interrupt.sql 2020-11-23 10:20:56.103865502 +0100
diff -rupN --no-dereference postgis-3.1.1/regress/core/interrupt.sql postgis-3.1.1-new/regress/core/interrupt.sql
--- postgis-3.1.1/regress/core/interrupt.sql 2021-01-28 20:10:32.000000000 +0100
+++ postgis-3.1.1-new/regress/core/interrupt.sql 2021-01-29 10:14:02.622993467 +0100
@@ -24,7 +24,7 @@ $$ LANGUAGE 'plpgsql' VOLATILE;
SET statement_timeout TO 100;
-- would run for many seconds if uninterruptible...

View File

@ -1,3 +1,3 @@
SHA512 (postgis-2.5.5.tar.gz) = 407c9ddf5b73aaa8d36ec606f974b86c16c9ed4aafbfd4a0b7f96cfc7a9f8a8fa38528cb4787bdd50de479416dbfb09934a85d189463cec549da66863060292e
SHA512 (postgis-3.1.0.pdf) = 6c521502dcf532b14367ba6a7d44324fc6489512d62242711907129622c7d3254dcc17e922f0a2025c0ba36819206856873a10f836f2e1d07b6f25bea789d643
SHA512 (postgis-3.1.0.tar.gz) = c5b063ff7cbe855ab6ce4104d170b27eea04ae632fd6fcb8de38b14699296a8e0c9ce06bfb48ab14cba51b7a1b3f7e0a3996d9377a954dfc39fd68fe3f839e8f
SHA512 (postgis-3.1.1.tar.gz) = b975d26c1ad01fa6b90b5b3b51fd2b4b33204a380af0f76b98d1bfd6bd95f527d4ac3548f1b822e114be17bb3a133bc88c3d33a17d4effdfa1f90ec0c683e5e5
SHA512 (postgis-3.1.1.pdf) = c11ac0c283c38a35871340a7d20768e7535eb30dce8331d50ff3957f3c5eb1351af9416673c757095f3c9048e109a4e5ffa7ca8b64575272e91fcbf71d190e29