Regina Obe
62d0287ec6
Force sorting in ST_ColorMap test (fix aliasing issue rid was aliased as testid)
...
closes #3503
git-svn-id: http://svn.osgeo.org/postgis/trunk@14794 b70326c6-7e19-0410-871a-916f4a2858ee
2016-03-20 19:52:40 +00:00
Regina Obe
ef1a2d9ff4
Force sorting in ST_ColorMap test
...
references #3503
git-svn-id: http://svn.osgeo.org/postgis/trunk@14793 b70326c6-7e19-0410-871a-916f4a2858ee
2016-03-20 19:41:05 +00:00
Regina Obe
68ad685a85
Revise script generation to exclude SQL functions that are NOT STRICT.
...
Integrate into testing
Integrate into create extension
References #3490 for PostGIS 2.3
git-svn-id: http://svn.osgeo.org/postgis/trunk@14750 b70326c6-7e19-0410-871a-916f4a2858ee
2016-03-05 05:37:31 +00:00
Paul Ramsey
f2b5bf3767
Expunge all trace of rt_init_allocators
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@14704 b70326c6-7e19-0410-871a-916f4a2858ee
2016-02-26 11:19:07 +00:00
Paul Ramsey
3da94a05db
Back out unique callback name change ( #3429 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@14701 b70326c6-7e19-0410-871a-916f4a2858ee
2016-02-26 09:53:09 +00:00
Paul Ramsey
df0d1e30f0
#3429 , directly call set_handlers for allocator initialization
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@14700 b70326c6-7e19-0410-871a-916f4a2858ee
2016-02-26 09:51:29 +00:00
Paul Ramsey
b3a9cd0880
Avoid signature collision in altered callback function
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@14697 b70326c6-7e19-0410-871a-916f4a2858ee
2016-02-25 16:02:29 +00:00
Paul Ramsey
b214b12a98
Change from on-the-fly raster context set-up to _PG_init()-driven context set-up, hopefully to address upgrade issues on ubuntu
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@14694 b70326c6-7e19-0410-871a-916f4a2858ee
2016-02-25 10:08:04 +00:00
Paul Ramsey
77d3882cc8
#2743 , avoid re-definition of GUCs during upgrade
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@14680 b70326c6-7e19-0410-871a-916f4a2858ee
2016-02-24 15:19:04 +00:00
Daniel Baston
2465d24e9d
#3365 , remove code paths for POSTGIS_GEOS_VERSION < 33
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@14466 b70326c6-7e19-0410-871a-916f4a2858ee
2015-12-01 23:16:41 +00:00
Regina Obe
27266edf40
gserialized_from_lwgeom get rid of is_geodetic ignored arg ,
...
force geography_serialize to always return a geography
closes pull request #72
closes ticket #3361
git-svn-id: http://svn.osgeo.org/postgis/trunk@14453 b70326c6-7e19-0410-871a-916f4a2858ee
2015-11-30 16:24:57 +00:00
Regina Obe
463fe97481
_raster_constraint_info_scale gives invalid input syntax
...
references #3360 fix for PostGIS 2.3 (trunk)
git-svn-id: http://svn.osgeo.org/postgis/trunk@14371 b70326c6-7e19-0410-871a-916f4a2858ee
2015-11-07 10:10:17 +00:00
Sandro Santilli
d98a700795
Properly encode raster/rt_pg dependencies
...
Fixes #3335 for me (in 2.3.0dev)
git-svn-id: http://svn.osgeo.org/postgis/trunk@14284 b70326c6-7e19-0410-871a-916f4a2858ee
2015-10-17 05:47:52 +00:00
Bborie Park
a96eb0893c
syntax cleanup
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@14195 b70326c6-7e19-0410-871a-916f4a2858ee
2015-10-05 17:37:18 +00:00
Bborie Park
cf6e8f31fd
code cleanup
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@14194 b70326c6-7e19-0410-871a-916f4a2858ee
2015-10-05 16:44:19 +00:00
Regina Obe
1198c42fe9
#3314 missed some spots forcing order of results
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@14193 b70326c6-7e19-0410-871a-916f4a2858ee
2015-10-05 16:26:25 +00:00
Regina Obe
38ebe36833
#3314 : change mask test to use st_dumpvalues to avoid endian differences. Also force sort of records (since SQL doesn't guarantee sort will be the same across systems) for multi record results
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@14192 b70326c6-7e19-0410-871a-916f4a2858ee
2015-10-05 15:59:06 +00:00
Regina Obe
ffc47387c9
#3315 : fix typos in error messages for map algebra mask and provide more descriptive error about dimension mismatch
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@14185 b70326c6-7e19-0410-871a-916f4a2858ee
2015-10-04 20:47:09 +00:00
Regina Obe
f38b921529
#3297 fix check_gdal regress test to not test initial state (so not sensitive to users default postgis.gdal_enabled_drivers settings
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@14116 b70326c6-7e19-0410-871a-916f4a2858ee
2015-09-26 15:48:51 +00:00
Sandro Santilli
39431b11f5
Detect GNU/Hurd and treat it like Linux just as BSD ( #3295 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@14114 b70326c6-7e19-0410-871a-916f4a2858ee
2015-09-26 10:49:44 +00:00
Regina Obe
3b775f6d29
#2842 Hide unselectable tables from raster_overview and raster_columns
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@14093 b70326c6-7e19-0410-871a-916f4a2858ee
2015-09-24 16:15:44 +00:00
Sandro Santilli
373ae56e81
Add all missing format attributes under GNUC
...
Fixes the leftover suggestion warnings from -Wmissing-format-attribute
git-svn-id: http://svn.osgeo.org/postgis/trunk@14063 b70326c6-7e19-0410-871a-916f4a2858ee
2015-09-14 12:13:59 +00:00
Sandro Santilli
49f3269303
Workaround PostgreSQL-9.5dev bug forcing install on check
...
See http://www.postgresql.org/message-id/CAB7nPqTsR5o3g-fBi6jbsVdhfPiLFWQ_0cGU5=94Rv_8W3qvFA@mail.gmail.com
This is for topology and raster
git-svn-id: http://svn.osgeo.org/postgis/trunk@13690 b70326c6-7e19-0410-871a-916f4a2858ee
2015-06-23 14:40:25 +00:00
Sandro Santilli
4f5548ca9a
Drop PGXSOVERRIDE temporary hack. PostgreSQL 9.0 is minimum req now.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@13687 b70326c6-7e19-0410-871a-916f4a2858ee
2015-06-22 14:47:43 +00:00
Sandro Santilli
f2cb3ac519
Move liblwgeom logging functions outside of public header ( #1220 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@13652 b70326c6-7e19-0410-871a-916f4a2858ee
2015-06-11 11:03:03 +00:00
Sandro Santilli
ec7535cc68
Restore liblwgeom API compatibility ( #3156 )
...
Adds an lwgeom_set_debuglogger function, restore lwgeom_set_handler
to the same arguments set as with 2.1.x.
Updates all callers (2/3 of which are back to their original version).
git-svn-id: http://svn.osgeo.org/postgis/trunk@13646 b70326c6-7e19-0410-871a-916f4a2858ee
2015-06-10 23:28:01 +00:00
Paul Ramsey
74e84aeae1
#2287 , fix regressions with new debug in raster
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@13619 b70326c6-7e19-0410-871a-916f4a2858ee
2015-06-04 19:45:36 +00:00
Paul Ramsey
75e4f978a6
#2287 , move debug messages in --enable-debug builds to the DEBUG PgSQL logging channel
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@13617 b70326c6-7e19-0410-871a-916f4a2858ee
2015-06-04 18:43:34 +00:00
Paul Ramsey
e0d2f255ea
Only use new geodesics when Proj 4.9 is installed
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@13526 b70326c6-7e19-0410-871a-916f4a2858ee
2015-05-19 18:11:48 +00:00
Sandro Santilli
45f30508b3
Drop obsoleted _st_mapalgebra version on upgrade ( #2664 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@13520 b70326c6-7e19-0410-871a-916f4a2858ee
2015-05-18 08:55:17 +00:00
Bborie Park
131c244275
DO block to emit message. ticket #3118
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@13510 b70326c6-7e19-0410-871a-916f4a2858ee
2015-05-15 16:18:30 +00:00
Paul Ramsey
8d2ed97250
Add back some $Id tags and files missing in TWKB commit
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@13497 b70326c6-7e19-0410-871a-916f4a2858ee
2015-05-13 18:29:52 +00:00
Paul Ramsey
870eaef414
Remove the many and unloved $Id$ tags that clutter the code base
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@13496 b70326c6-7e19-0410-871a-916f4a2858ee
2015-05-13 18:13:18 +00:00
Paul Ramsey
4186526ccd
Quiet warnings about using fabs on ints
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@13494 b70326c6-7e19-0410-871a-916f4a2858ee
2015-05-13 18:06:04 +00:00
Sandro Santilli
d7ac463494
C++ style comments are not allowed in ISO C90
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@13473 b70326c6-7e19-0410-871a-916f4a2858ee
2015-05-04 08:36:28 +00:00
Bborie Park
604ffcef1a
regex for parsing constraints. ticket #3096
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@13471 b70326c6-7e19-0410-871a-916f4a2858ee
2015-05-03 00:41:58 +00:00
Bborie Park
da27ffe625
add unit tests for numeric overflow. ticket #3100
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@13468 b70326c6-7e19-0410-871a-916f4a2858ee
2015-05-02 20:27:49 +00:00
Bborie Park
426be352b2
round to 10 places instead of numeric(25,10). ticket #3006
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@13467 b70326c6-7e19-0410-871a-916f4a2858ee
2015-05-02 19:48:17 +00:00
Paul Ramsey
84abc55b75
Quiet warnings about misuse of abs() / fabs() on
...
wrong types (new clang in OSX 10.10)
git-svn-id: http://svn.osgeo.org/postgis/trunk@13457 b70326c6-7e19-0410-871a-916f4a2858ee
2015-04-29 15:49:19 +00:00
Bborie Park
f93d1ae0e9
invalid operator. Ticket #3090
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@13395 b70326c6-7e19-0410-871a-916f4a2858ee
2015-03-24 13:46:59 +00:00
Bborie Park
f32b7827e9
Fix ST_DumpValues() crasher when cleaning. Ticket #3086
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@13390 b70326c6-7e19-0410-871a-916f4a2858ee
2015-03-23 16:23:20 +00:00
Regina Obe
03dfe9ee7b
#3080 regress failure on 9.5. Put in an OFFSET 0 on all the queries to prevent double ST_Reclass calling in 9.5 on constant table
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@13386 b70326c6-7e19-0410-871a-916f4a2858ee
2015-03-23 03:43:42 +00:00
Sandro Santilli
6fd90a6537
Fix availability info for "agg_count" type ( #3082 )
...
Fixes soft-upgrade from 2.1 to 2.2
git-svn-id: http://svn.osgeo.org/postgis/trunk@13350 b70326c6-7e19-0410-871a-916f4a2858ee
2015-03-17 11:42:14 +00:00
Sandro Santilli
346b19845d
Fix availability info for "summarystats" type ( #3082 )
...
Adds support for "Missing in" label in sql comment for handling
cases in which a type was missing from a version.
git-svn-id: http://svn.osgeo.org/postgis/trunk@13349 b70326c6-7e19-0410-871a-916f4a2858ee
2015-03-17 11:42:08 +00:00
Sandro Santilli
ab500769fc
Fix soft upgrade from 2.0 to 2.2 ( #3081 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@13348 b70326c6-7e19-0410-871a-916f4a2858ee
2015-03-17 10:43:00 +00:00
Paul Ramsey
2535d7e168
Catch remaining detoasting calls and replace with MACRO
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@13307 b70326c6-7e19-0410-871a-916f4a2858ee
2015-03-04 21:05:19 +00:00
Paul Ramsey
af14a2ebfb
#3041 , Cunit 2.1-3 breaks testing
...
Renovate the raster cunit as well
git-svn-id: http://svn.osgeo.org/postgis/trunk@13238 b70326c6-7e19-0410-871a-916f4a2858ee
2015-02-18 22:56:28 +00:00
Sandro Santilli
5cdf724883
Pretend raster/geometry operator ~ never changed ( #3039 )
...
Fix soft-upgrade from 2.1.2.
git-svn-id: http://svn.osgeo.org/postgis/trunk@13229 b70326c6-7e19-0410-871a-916f4a2858ee
2015-02-17 17:11:18 +00:00
Sandro Santilli
7a9dbb81b6
Remove use of lw_vasprintf from raster
...
reduces useless heap allocations
git-svn-id: http://svn.osgeo.org/postgis/trunk@13218 b70326c6-7e19-0410-871a-916f4a2858ee
2015-02-17 10:03:35 +00:00
Sandro Santilli
e8719d3678
Embed availability info for raster operators
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@13217 b70326c6-7e19-0410-871a-916f4a2858ee
2015-02-17 09:23:50 +00:00