]> granicus.if.org Git - postgis/log
postgis
5 years agoChange SVN references to GIT
Sandro Santilli [Sun, 27 Oct 2019 19:34:20 +0000 (20:34 +0100)]
Change SVN references to GIT

5 years agoTweak HOWTO_RELEASE
Sandro Santilli [Sun, 27 Oct 2019 19:10:39 +0000 (20:10 +0100)]
Tweak HOWTO_RELEASE

5 years agoFix typos in docs
Regina Obe [Fri, 25 Oct 2019 23:48:59 +0000 (23:48 +0000)]
Fix typos in docs

git-svn-id: http://svn.osgeo.org/postgis/trunk@17991 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoUnify how libm is added to the LDFLAGS
Raúl Marín Rodríguez [Fri, 25 Oct 2019 14:17:07 +0000 (14:17 +0000)]
Unify how libm is added to the LDFLAGS

Different objects or libraries where including it individually,
and some of them didn't which can caused issues depending on
the linker options

Closes https://github.com/postgis/postgis/pull/491/
Closes #4539

git-svn-id: http://svn.osgeo.org/postgis/trunk@17990 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoFix version numbers that got reset to old
Regina Obe [Wed, 23 Oct 2019 22:46:02 +0000 (22:46 +0000)]
Fix version numbers that got reset to old

git-svn-id: http://svn.osgeo.org/postgis/trunk@17989 b70326c6-7e19-0410-871a-916f4a2858ee

5 years ago[run_test] Use -f _before_ DB argument
Sandro Santilli [Sun, 20 Oct 2019 09:00:58 +0000 (09:00 +0000)]
[run_test] Use -f _before_ DB argument

Windows version of psql might be picky about it

Hopefully closes #4554

git-svn-id: http://svn.osgeo.org/postgis/trunk@17985 b70326c6-7e19-0410-871a-916f4a2858ee

5 years ago[run_test] Fix search_path for topology tests
Sandro Santilli [Fri, 18 Oct 2019 16:20:50 +0000 (16:20 +0000)]
[run_test] Fix search_path for topology tests

git-svn-id: http://svn.osgeo.org/postgis/trunk@17975 b70326c6-7e19-0410-871a-916f4a2858ee

5 years ago[run_test] Do not omit CREATE/UPDATE returns from sql() func
Sandro Santilli [Fri, 18 Oct 2019 16:08:02 +0000 (16:08 +0000)]
[run_test] Do not omit CREATE/UPDATE returns from sql() func

git-svn-id: http://svn.osgeo.org/postgis/trunk@17974 b70326c6-7e19-0410-871a-916f4a2858ee

5 years ago[run_test] When counting pre-post test objects, skip target schema
Sandro Santilli [Fri, 18 Oct 2019 16:07:50 +0000 (16:07 +0000)]
[run_test] When counting pre-post test objects, skip target schema

git-svn-id: http://svn.osgeo.org/postgis/trunk@17973 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoFix PLPGSQL functions missing the schema qualification
Raúl Marín Rodríguez [Fri, 18 Oct 2019 16:06:34 +0000 (16:06 +0000)]
Fix PLPGSQL functions missing the schema qualification

References #4546
Closes https://github.com/postgis/postgis/pull/500

git-svn-id: http://svn.osgeo.org/postgis/trunk@17972 b70326c6-7e19-0410-871a-916f4a2858ee

5 years ago[run_test] Use --schema as target for creating and finding postgis
Sandro Santilli [Fri, 18 Oct 2019 15:05:41 +0000 (15:05 +0000)]
[run_test] Use --schema as target for creating and finding postgis

Closes #4551

git-svn-id: http://svn.osgeo.org/postgis/trunk@17971 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoChange public for the schema variable
Raúl Marín Rodríguez [Fri, 18 Oct 2019 14:57:34 +0000 (14:57 +0000)]
Change public for the schema variable

git-svn-id: http://svn.osgeo.org/postgis/trunk@17966 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoCorrected 2 errata noted by Andreas Schild.
Regina Obe [Fri, 18 Oct 2019 12:42:56 +0000 (12:42 +0000)]
Corrected 2 errata noted by Andreas Schild.
Incorporate latests translation changes. Update release pot
references #4552 for PostGIS 3.1.0dev

git-svn-id: http://svn.osgeo.org/postgis/trunk@17961 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoUse BEGIN-ROLLBACK instead of RESET
Raúl Marín Rodríguez [Fri, 18 Oct 2019 12:18:06 +0000 (12:18 +0000)]
Use BEGIN-ROLLBACK instead of RESET

git-svn-id: http://svn.osgeo.org/postgis/trunk@17955 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoAdd tests for schema qualified functions
Raúl Marín Rodríguez [Fri, 18 Oct 2019 12:06:31 +0000 (12:06 +0000)]
Add tests for schema qualified functions

References #4549

git-svn-id: http://svn.osgeo.org/postgis/trunk@17954 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoAdd NEWS of the previous commit
Raúl Marín Rodríguez [Fri, 18 Oct 2019 08:50:57 +0000 (08:50 +0000)]
Add NEWS of the previous commit

git-svn-id: http://svn.osgeo.org/postgis/trunk@17952 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoUse get_call_result_type to retrieve tuple descriptions
Raúl Marín Rodríguez [Fri, 18 Oct 2019 08:42:28 +0000 (08:42 +0000)]
Use get_call_result_type to retrieve tuple descriptions

Closes #499
References #4549
References #4546

git-svn-id: http://svn.osgeo.org/postgis/trunk@17951 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoPrep 3.0.0 release notes, purge alpha/beta/rc notes
Regina Obe [Fri, 18 Oct 2019 02:18:50 +0000 (02:18 +0000)]
Prep 3.0.0 release notes, purge alpha/beta/rc notes

git-svn-id: http://svn.osgeo.org/postgis/trunk@17950 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoRevert r17925
Raúl Marín Rodríguez [Thu, 17 Oct 2019 18:05:33 +0000 (18:05 +0000)]
Revert r17925

References #4546

git-svn-id: http://svn.osgeo.org/postgis/trunk@17945 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoFix AddRasterConstraints in presence of null geoms in table
Sandro Santilli [Thu, 17 Oct 2019 14:47:47 +0000 (14:47 +0000)]
Fix AddRasterConstraints in presence of null geoms in table

CLoses #4547 in master branch

git-svn-id: http://svn.osgeo.org/postgis/trunk@17942 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoFix ST_ConcaveHull under FDW
Raúl Marín Rodríguez [Thu, 17 Oct 2019 10:29:15 +0000 (10:29 +0000)]
Fix ST_ConcaveHull under FDW

References #4546
Closes https://github.com/postgis/postgis/pull/497

git-svn-id: http://svn.osgeo.org/postgis/trunk@17925 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoFix svn revision fetching from git worktree
Sandro Santilli [Thu, 17 Oct 2019 05:28:41 +0000 (05:28 +0000)]
Fix svn revision fetching from git worktree

For worktrees, .git is a file, not a directory

git-svn-id: http://svn.osgeo.org/postgis/trunk@17922 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoDon't update upgrade_test raster table twice...
Sandro Santilli [Thu, 17 Oct 2019 05:21:16 +0000 (05:21 +0000)]
Don't update upgrade_test raster table twice...

git-svn-id: http://svn.osgeo.org/postgis/trunk@17921 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoAvoid use of bogus AddRasterConstraint when running upgrade tests
Sandro Santilli [Wed, 16 Oct 2019 19:10:57 +0000 (19:10 +0000)]
Avoid use of bogus AddRasterConstraint when running upgrade tests

Works around bug #4547

Closes #4530

git-svn-id: http://svn.osgeo.org/postgis/trunk@17920 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoAddress leaks detected by OSS-FUZZ
Raúl Marín Rodríguez [Tue, 15 Oct 2019 12:08:44 +0000 (12:08 +0000)]
Address leaks detected by OSS-FUZZ

Closes #4544
Closes #4545
Closes https://github.com/postgis/postgis/pull/496

git-svn-id: http://svn.osgeo.org/postgis/trunk@17918 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoAdd missing libxml and ssl libs for windows packaging
Regina Obe [Mon, 14 Oct 2019 06:38:09 +0000 (06:38 +0000)]
Add missing libxml and ssl libs for windows packaging
references #3442 for PostGIS 3.1

git-svn-id: http://svn.osgeo.org/postgis/trunk@17916 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoPrint version before upgrade, in upgrade tests
Sandro Santilli [Mon, 14 Oct 2019 05:06:59 +0000 (05:06 +0000)]
Print version before upgrade, in upgrade tests

git-svn-id: http://svn.osgeo.org/postgis/trunk@17915 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoupdate pos and pots
Regina Obe [Sun, 13 Oct 2019 17:28:32 +0000 (17:28 +0000)]
update pos and pots

git-svn-id: http://svn.osgeo.org/postgis/trunk@17914 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoAvoid sending two queries at once, to more easily spot actual errors
Sandro Santilli [Sun, 13 Oct 2019 09:27:01 +0000 (09:27 +0000)]
Avoid sending two queries at once, to more easily spot actual errors

See #4530

git-svn-id: http://svn.osgeo.org/postgis/trunk@17912 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoFlip to 3.1.0 development
Regina Obe [Sun, 13 Oct 2019 04:56:48 +0000 (04:56 +0000)]
Flip to 3.1.0 development

git-svn-id: http://svn.osgeo.org/postgis/trunk@17911 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agomissed spot
Regina Obe [Sun, 13 Oct 2019 03:31:17 +0000 (03:31 +0000)]
missed spot

git-svn-id: http://svn.osgeo.org/postgis/trunk@17908 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoPrepping for PostGIS 3.0.0rc2 release
Regina Obe [Sun, 13 Oct 2019 02:57:29 +0000 (02:57 +0000)]
Prepping for PostGIS 3.0.0rc2 release

git-svn-id: http://svn.osgeo.org/postgis/trunk@17907 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoMemory leak in lwpoly_from_wkb_state
Raúl Marín Rodríguez [Fri, 11 Oct 2019 13:24:03 +0000 (13:24 +0000)]
Memory leak in lwpoly_from_wkb_state

References #4535

git-svn-id: http://svn.osgeo.org/postgis/trunk@17906 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agomanual fix release note dates and numbers
Regina Obe [Thu, 10 Oct 2019 17:28:14 +0000 (17:28 +0000)]
manual fix release note dates and numbers

git-svn-id: http://svn.osgeo.org/postgis/trunk@17905 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoWKB: Avoid buffer overflow
Raúl Marín Rodríguez [Thu, 10 Oct 2019 16:58:46 +0000 (16:58 +0000)]
WKB: Avoid buffer overflow

This only happens when not running under PG context, as
lwerror continues execution and that means that even after
detecting there isn't enough bytes still try to read from the buffer

Closes #4535
Closes https://github.com/postgis/postgis/pull/495

git-svn-id: http://svn.osgeo.org/postgis/trunk@17904 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoFix leak in WKT collection parser
Raúl Marín Rodríguez [Thu, 10 Oct 2019 13:01:09 +0000 (13:01 +0000)]
Fix leak in WKT collection parser

References #4537

git-svn-id: http://svn.osgeo.org/postgis/trunk@17900 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoFix leak in lwcollection_from_wkb_state
Raúl Marín Rodríguez [Thu, 10 Oct 2019 11:09:18 +0000 (11:09 +0000)]
Fix leak in lwcollection_from_wkb_state

Closes #4536
Closes https://github.com/postgis/postgis/pull/493

git-svn-id: http://svn.osgeo.org/postgis/trunk@17893 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoFix leak in lwcurvepoly_from_wkb_state
Raúl Marín Rodríguez [Thu, 10 Oct 2019 10:10:37 +0000 (10:10 +0000)]
Fix leak in lwcurvepoly_from_wkb_state

Closes #4534
Closes https://github.com/postgis/postgis/pull/492

git-svn-id: http://svn.osgeo.org/postgis/trunk@17892 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoRemove HAVE_LIBJSON_C
Raúl Marín Rodríguez [Tue, 8 Oct 2019 11:48:33 +0000 (11:48 +0000)]
Remove HAVE_LIBJSON_C

Patch by jabakobob
References #4528

git-svn-id: http://svn.osgeo.org/postgis/trunk@17891 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoMake sure "make clean" really cleans what's created by "make"
Sandro Santilli [Tue, 8 Oct 2019 11:40:36 +0000 (11:40 +0000)]
Make sure "make clean" really cleans what's created by "make"

Fixes #4531 and simplifies a little bit those Makefiles

git-svn-id: http://svn.osgeo.org/postgis/trunk@17890 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoAllow running core tests from any directory
Sandro Santilli [Tue, 8 Oct 2019 10:59:05 +0000 (10:59 +0000)]
Allow running core tests from any directory

Using the :regdir variable

git-svn-id: http://svn.osgeo.org/postgis/trunk@17889 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoForce using systemwide scripts when run with --extension
Sandro Santilli [Tue, 8 Oct 2019 09:43:14 +0000 (09:43 +0000)]
Force using systemwide scripts when run with --extension

.. rather than relying on version mismatch (current vs. requested)
to tell where to pick scripts from ..

*might* relate to #4515

git-svn-id: http://svn.osgeo.org/postgis/trunk@17888 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoFlip to 3.0.0rc2dev
Regina Obe [Tue, 8 Oct 2019 06:16:31 +0000 (06:16 +0000)]
Flip to 3.0.0rc2dev

git-svn-id: http://svn.osgeo.org/postgis/trunk@17887 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoChange to package 3.8.0rc2 for windows, prepare for 3.0.0rc1 release
Regina Obe [Tue, 8 Oct 2019 06:11:49 +0000 (06:11 +0000)]
Change to package 3.8.0rc2 for windows, prepare for 3.0.0rc1 release

git-svn-id: http://svn.osgeo.org/postgis/trunk@17885 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoFix pos for spanish and french so they produce proper XML
Regina Obe [Tue, 8 Oct 2019 00:48:44 +0000 (00:48 +0000)]
Fix pos for spanish and french so they produce proper XML
Closes #4525

git-svn-id: http://svn.osgeo.org/postgis/trunk@17884 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoAdd step to pull translations from transifex
Regina Obe [Mon, 7 Oct 2019 23:04:54 +0000 (23:04 +0000)]
Add step to pull translations from transifex
References #4525

git-svn-id: http://svn.osgeo.org/postgis/trunk@17883 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoRemove view testing from upgrade objects testing
Paul Ramsey [Mon, 7 Oct 2019 22:58:12 +0000 (22:58 +0000)]
Remove view testing from upgrade objects testing
References #4386

git-svn-id: http://svn.osgeo.org/postgis/trunk@17882 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoupdate rest of pos
Regina Obe [Mon, 7 Oct 2019 22:49:45 +0000 (22:49 +0000)]
update rest of pos

git-svn-id: http://svn.osgeo.org/postgis/trunk@17881 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoTry and be a little broader in dropping temporary old signature
Paul Ramsey [Mon, 7 Oct 2019 17:32:14 +0000 (17:32 +0000)]
Try and be a little broader in dropping temporary old signature
References #4521

git-svn-id: http://svn.osgeo.org/postgis/trunk@17879 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoFix lib detection with "--with-jsondir" flag
Raúl Marín Rodríguez [Mon, 7 Oct 2019 11:41:55 +0000 (11:41 +0000)]
Fix lib detection with "--with-jsondir" flag

Patch by jabakobob
References #4528

git-svn-id: http://svn.osgeo.org/postgis/trunk@17878 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoFix --with-jsondir ldflags
Raúl Marín Rodríguez [Mon, 7 Oct 2019 10:38:47 +0000 (10:38 +0000)]
Fix --with-jsondir ldflags

Fixes #4528

git-svn-id: http://svn.osgeo.org/postgis/trunk@17877 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoAddress compiler warnings
Raúl Marín Rodríguez [Mon, 7 Oct 2019 10:29:32 +0000 (10:29 +0000)]
Address compiler warnings

Closes #4527
Closes https://github.com/postgis/postgis/pull/490

git-svn-id: http://svn.osgeo.org/postgis/trunk@17876 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoUse clang pragma only with clang
Sandro Santilli [Mon, 7 Oct 2019 07:00:45 +0000 (07:00 +0000)]
Use clang pragma only with clang

Hopefully fixes #4526

git-svn-id: http://svn.osgeo.org/postgis/trunk@17875 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoFix tag issues
Regina Obe [Mon, 7 Oct 2019 06:57:58 +0000 (06:57 +0000)]
Fix tag issues

git-svn-id: http://svn.osgeo.org/postgis/trunk@17874 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoTweak editorconfig for postgis_proc_upgrade.pl and indent it properly
Sandro Santilli [Mon, 7 Oct 2019 06:40:18 +0000 (06:40 +0000)]
Tweak editorconfig for postgis_proc_upgrade.pl and indent it properly

It looks like most lines are using 4-spaces indent, make that official
and tweak the non-conforming lines (53 lines over 580 total lines)

git-svn-id: http://svn.osgeo.org/postgis/trunk@17873 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoremove reference_exception evidentally was taken out of list
Regina Obe [Mon, 7 Oct 2019 06:18:41 +0000 (06:18 +0000)]
remove reference_exception evidentally was taken out of list

git-svn-id: http://svn.osgeo.org/postgis/trunk@17872 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoAdd reference_exception.xml -- is referenced in reference.xml
Regina Obe [Mon, 7 Oct 2019 05:07:37 +0000 (05:07 +0000)]
Add reference_exception.xml -- is referenced in reference.xml
Missing file causing translation to fail
references #4525 for PostGIS 3.0.

git-svn-id: http://svn.osgeo.org/postgis/trunk@17871 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoUpdate more po files
Regina Obe [Mon, 7 Oct 2019 04:44:11 +0000 (04:44 +0000)]
Update more po files
references #4525 for PostGIS 3.0

git-svn-id: http://svn.osgeo.org/postgis/trunk@17870 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoupdate IT from transifex
Regina Obe [Mon, 7 Oct 2019 03:02:58 +0000 (03:02 +0000)]
update IT from transifex

git-svn-id: http://svn.osgeo.org/postgis/trunk@17869 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agouodate de files from transifex
Regina Obe [Mon, 7 Oct 2019 02:58:48 +0000 (02:58 +0000)]
uodate de files from transifex

git-svn-id: http://svn.osgeo.org/postgis/trunk@17868 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agotake out reference_misc entirely instead of just commenting it out. Think it might...
Regina Obe [Mon, 7 Oct 2019 01:38:54 +0000 (01:38 +0000)]
take out reference_misc entirely instead of just commenting it out.  Think it might be causing issues with transifex

git-svn-id: http://svn.osgeo.org/postgis/trunk@17867 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoGuard some newer GCC'isms to allow older platforms
Paul Ramsey [Mon, 7 Oct 2019 01:36:19 +0000 (01:36 +0000)]
Guard some newer GCC'isms to allow older platforms
to still build

git-svn-id: http://svn.osgeo.org/postgis/trunk@17865 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoUse older perl idiom to allow build on
Paul Ramsey [Mon, 7 Oct 2019 01:31:00 +0000 (01:31 +0000)]
Use older perl idiom to allow build on
older platforms still

git-svn-id: http://svn.osgeo.org/postgis/trunk@17864 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agodatumCopy has to happen in agg context or else
Paul Ramsey [Mon, 7 Oct 2019 01:29:38 +0000 (01:29 +0000)]
datumCopy has to happen in agg context or else
objects larger than datum size will be lost.
Shows up in 32 bit because float8 doesn't fit
on a datum.
Closes #4522

git-svn-id: http://svn.osgeo.org/postgis/trunk@17863 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoGet rid of reference_temporal. that evidentally was removed
Regina Obe [Mon, 7 Oct 2019 00:46:53 +0000 (00:46 +0000)]
Get rid of reference_temporal.  that evidentally was removed

git-svn-id: http://svn.osgeo.org/postgis/trunk@17861 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoUpdate pot files -- references #4525
Regina Obe [Mon, 7 Oct 2019 00:16:38 +0000 (00:16 +0000)]
Update pot files -- references #4525

git-svn-id: http://svn.osgeo.org/postgis/trunk@17860 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoChange expected release from 10/5 to 10/8
Regina Obe [Sun, 6 Oct 2019 15:44:35 +0000 (15:44 +0000)]
Change expected release from 10/5 to 10/8

git-svn-id: http://svn.osgeo.org/postgis/trunk@17858 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoPrepping for PostGIS 3.0.0rc1 release
Regina Obe [Sat, 5 Oct 2019 18:06:52 +0000 (18:06 +0000)]
Prepping for PostGIS 3.0.0rc1 release

git-svn-id: http://svn.osgeo.org/postgis/trunk@17857 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoRestore ST_Union() aggregate signature and re-work
Paul Ramsey [Fri, 4 Oct 2019 18:25:46 +0000 (18:25 +0000)]
Restore ST_Union() aggregate signature and re-work
performance/size enhancement to continue to avoid
using Array type during ST_Union(), hopefully
avoiding Array size limitations.

git-svn-id: http://svn.osgeo.org/postgis/trunk@17856 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoautogen.sh: Exit with an error when a tool is missing
Raúl Marín Rodríguez [Thu, 3 Oct 2019 09:49:41 +0000 (09:49 +0000)]
autogen.sh: Exit with an error when a tool is missing

git-svn-id: http://svn.osgeo.org/postgis/trunk@17855 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoUse a clean environment when detecting C++ libraries
Raúl Marín Rodríguez [Thu, 3 Oct 2019 09:40:08 +0000 (09:40 +0000)]
Use a clean environment when detecting C++ libraries

Closes #4520
Closes https://github.com/postgis/postgis/pull/488

git-svn-id: http://svn.osgeo.org/postgis/trunk@17854 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoUse snprintf in building SRID query string
Paul Ramsey [Wed, 2 Oct 2019 18:22:09 +0000 (18:22 +0000)]
Use snprintf in building SRID query string

git-svn-id: http://svn.osgeo.org/postgis/trunk@17851 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agogetSRIDbySRS: Fix crash
Raúl Marín Rodríguez [Wed, 2 Oct 2019 13:45:21 +0000 (13:45 +0000)]
getSRIDbySRS: Fix crash

- Prevents stack overflow when the srs is long (query + srs > 256 chars).
- Prevents sql injection.

References #4519
Closes https://github.com/postgis/postgis/pull/487

git-svn-id: http://svn.osgeo.org/postgis/trunk@17846 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoGet a little bit ahead on extension upgrade paths, so
Paul Ramsey [Tue, 1 Oct 2019 17:29:34 +0000 (17:29 +0000)]
Get a little bit ahead on extension upgrade paths, so
patch releases of older versions can still upgrade to 3.0 in
near future

git-svn-id: http://svn.osgeo.org/postgis/trunk@17845 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoFix scripts-based (not extension) upgrade from 2.4
Paul Ramsey [Tue, 1 Oct 2019 17:28:59 +0000 (17:28 +0000)]
Fix scripts-based (not extension) upgrade from 2.4
Closes #4516

git-svn-id: http://svn.osgeo.org/postgis/trunk@17844 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoCreate slot for next release - be confident we'll do another before end of month
Regina Obe [Tue, 1 Oct 2019 14:30:51 +0000 (14:30 +0000)]
Create slot for next release - be confident we'll do another before end of month

git-svn-id: http://svn.osgeo.org/postgis/trunk@17842 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoTurn rt_gdalwarp tests back on, removing grid shifts to account
Paul Ramsey [Mon, 30 Sep 2019 21:18:35 +0000 (21:18 +0000)]
Turn rt_gdalwarp tests back on, removing grid shifts to account
for changes in Proj installed grids

git-svn-id: http://svn.osgeo.org/postgis/trunk@17841 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoAvoid datum/grid shifts in reproject test, to lower
Paul Ramsey [Mon, 30 Sep 2019 19:49:09 +0000 (19:49 +0000)]
Avoid datum/grid shifts in reproject test, to lower
sensitivity to variance in proj installations wrt
whether or not grid shift files are installed.
References #4500

git-svn-id: http://svn.osgeo.org/postgis/trunk@17839 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoAdd CXX and CXXFLAGS from pg_config seems to fix wagyu load issue
Regina Obe [Mon, 30 Sep 2019 18:55:41 +0000 (18:55 +0000)]
Add CXX and CXXFLAGS from pg_config seems to fix wagyu load issue
Closes #4474

git-svn-id: http://svn.osgeo.org/postgis/trunk@17838 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoPut back wagyu, but try to force gcc8 as compiler and use CFLAGS from PostgreSQL...
Regina Obe [Mon, 30 Sep 2019 16:38:37 +0000 (16:38 +0000)]
Put back wagyu, but try to force gcc8 as compiler and use CFLAGS from PostgreSQL 11 install
References #4474

git-svn-id: http://svn.osgeo.org/postgis/trunk@17837 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoFlip to 3.0.0beta2dev
Regina Obe [Sun, 29 Sep 2019 00:38:30 +0000 (00:38 +0000)]
Flip to 3.0.0beta2dev

git-svn-id: http://svn.osgeo.org/postgis/trunk@17836 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agooops forgot to commit same note in NEWS
Regina Obe [Sat, 28 Sep 2019 23:55:31 +0000 (23:55 +0000)]
oops forgot to commit same note in NEWS

git-svn-id: http://svn.osgeo.org/postgis/trunk@17832 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoAdd note about additional performance enhancements with GEOS 3.8
Regina Obe [Sat, 28 Sep 2019 23:54:32 +0000 (23:54 +0000)]
Add note about additional performance enhancements with GEOS 3.8

git-svn-id: http://svn.osgeo.org/postgis/trunk@17831 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoPrepare for PostGIS 3.0.0beta1
Regina Obe [Sat, 28 Sep 2019 23:28:14 +0000 (23:28 +0000)]
Prepare for PostGIS 3.0.0beta1

git-svn-id: http://svn.osgeo.org/postgis/trunk@17830 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoTurn off wagyu for now for 32-bit FreeBSD12. For some reason it is deciding to use...
Regina Obe [Sat, 28 Sep 2019 22:37:46 +0000 (22:37 +0000)]
Turn off wagyu for now for 32-bit FreeBSD12.  For some reason it is deciding to use a higher gcc for wagyu building which causes the issue
References #4474

git-svn-id: http://svn.osgeo.org/postgis/trunk@17829 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agotake out all pathing to see if that fixes the issue, in theory pkg-config should...
Regina Obe [Sat, 28 Sep 2019 22:13:47 +0000 (22:13 +0000)]
take out all pathing to see if that fixes the issue, in theory pkg-config should take care of everything.  Set default GEOS to 3.8.0beta1 for winnie

git-svn-id: http://svn.osgeo.org/postgis/trunk@17828 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoUpdate docs in prep for 3.0.0beta1 release
Regina Obe [Sat, 28 Sep 2019 13:09:55 +0000 (13:09 +0000)]
Update docs in prep for 3.0.0beta1 release

git-svn-id: http://svn.osgeo.org/postgis/trunk@17827 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoFix issue with loading tabblock
Regina Obe [Sat, 28 Sep 2019 02:52:11 +0000 (02:52 +0000)]
Fix issue with loading tabblock
Update geocoder to load 2019 data
Closes #4509 for PostGIS 3.0
References #4338 for PostGIS 3.0

git-svn-id: http://svn.osgeo.org/postgis/trunk@17825 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoMissed some fixes in last commit. this should work on all.
Regina Obe [Sat, 28 Sep 2019 00:41:04 +0000 (00:41 +0000)]
Missed some fixes in last commit.  this should work on all.
References #4514 for PostGIS 3.0

git-svn-id: http://svn.osgeo.org/postgis/trunk@17824 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoRevise topology tests so they yield same results in GEOS 3.8 and lower
Regina Obe [Fri, 27 Sep 2019 23:59:30 +0000 (23:59 +0000)]
Revise topology tests so they yield same results in GEOS 3.8 and lower
References #4514 for PostGIS 3.0

git-svn-id: http://svn.osgeo.org/postgis/trunk@17823 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoupgrade-paths-rules.mk: Drop the -v flag
Raúl Marín Rodríguez [Wed, 25 Sep 2019 10:31:18 +0000 (10:31 +0000)]
upgrade-paths-rules.mk: Drop the -v flag

It's not available in some UNIX systems as it's not POSIX standard

git-svn-id: http://svn.osgeo.org/postgis/trunk@17822 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoSpeed up ST_Simplify
Raúl Marín Rodríguez [Tue, 24 Sep 2019 10:58:30 +0000 (10:58 +0000)]
Speed up ST_Simplify

Closes #4510
Closes https://github.com/postgis/postgis/pull/480

git-svn-id: http://svn.osgeo.org/postgis/trunk@17821 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoST_RemoveRepeatedPoints: Optimize multipoints with single point
Raúl Marín Rodríguez [Tue, 24 Sep 2019 10:45:43 +0000 (10:45 +0000)]
ST_RemoveRepeatedPoints: Optimize multipoints with single point

References #4491
Closes https://github.com/postgis/postgis/pull/481

git-svn-id: http://svn.osgeo.org/postgis/trunk@17820 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoTravis: Fix clang ubsan build
Raúl Marín Rodríguez [Tue, 24 Sep 2019 10:44:10 +0000 (10:44 +0000)]
Travis: Fix clang ubsan build

The latest build updated clang

git-svn-id: http://svn.osgeo.org/postgis/trunk@17819 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoFix several documentation typos
Raúl Marín Rodríguez [Mon, 23 Sep 2019 09:20:32 +0000 (09:20 +0000)]
Fix several documentation typos

Patch by François Bonzon
Closes https://github.com/postgis/postgis/pull/479/

git-svn-id: http://svn.osgeo.org/postgis/trunk@17818 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoRemove tolerance in point-in-ring stabline tests
Paul Ramsey [Tue, 17 Sep 2019 20:00:37 +0000 (20:00 +0000)]
Remove tolerance in point-in-ring stabline tests
Closes #4506

git-svn-id: http://svn.osgeo.org/postgis/trunk@17817 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoDisable raster failing tests
Raúl Marín Rodríguez [Tue, 17 Sep 2019 14:36:06 +0000 (14:36 +0000)]
Disable raster failing tests

References #4379

git-svn-id: http://svn.osgeo.org/postgis/trunk@17813 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoSpeed up ST_RemoveRepeatedPoints
Raúl Marín Rodríguez [Mon, 16 Sep 2019 12:32:05 +0000 (12:32 +0000)]
Speed up ST_RemoveRepeatedPoints

Closes #4491
Closes https://github.com/postgis/postgis/pull/468

git-svn-id: http://svn.osgeo.org/postgis/trunk@17812 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoSpeed up conversion of geometries to/from GEOS
Daniel Baston [Sat, 14 Sep 2019 19:09:20 +0000 (19:09 +0000)]
Speed up conversion of geometries to/from GEOS

GEOS 3.8 introduces multi-ordinate getters and setters that can read and write
XY/XYZ in a single function call.

Fixes #4505
Closes https://github.com/postgis/postgis/pull/476

git-svn-id: http://svn.osgeo.org/postgis/trunk@17811 b70326c6-7e19-0410-871a-916f4a2858ee

5 years agoUse GEOSMakeValid and GEOSBuildArea for GEOS 3.8+
Daniel Baston [Sat, 14 Sep 2019 19:04:46 +0000 (19:04 +0000)]
Use GEOSMakeValid and GEOSBuildArea for GEOS 3.8+

Fixes #4507
Closes https://github.com/postgis/postgis/pull/477

git-svn-id: http://svn.osgeo.org/postgis/trunk@17810 b70326c6-7e19-0410-871a-916f4a2858ee