Sandro Santilli
f47e316a14
Add --upgrade-path switch, honour -v on install/upgrade error
...
Also print scripts versions
Closes #2652
git-svn-id: http://svn.osgeo.org/postgis/trunk@12286 b70326c6-7e19-0410-871a-916f4a2858ee
2014-03-01 12:47:28 +00:00
Paul Ramsey
4c8cc2fe8c
Fix variable decls in debug statements
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12283 b70326c6-7e19-0410-871a-916f4a2858ee
2014-02-25 17:56:51 +00:00
Sandro Santilli
f395c2900b
Fix topology extension upgrade script building ( #2656 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12281 b70326c6-7e19-0410-871a-916f4a2858ee
2014-02-25 14:49:30 +00:00
Sandro Santilli
f56ed646ae
Qualify hash as such
...
Attempt to fix #2656
git-svn-id: http://svn.osgeo.org/postgis/trunk@12280 b70326c6-7e19-0410-871a-916f4a2858ee
2014-02-25 08:32:06 +00:00
Sandro Santilli
7ec77b0b44
Remove unused variable
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12279 b70326c6-7e19-0410-871a-916f4a2858ee
2014-02-24 20:47:44 +00:00
Sandro Santilli
94f6ab697a
Do not use IRC notices for build statuses
...
.. should still send messages to the IRC channel, just not notices
git-svn-id: http://svn.osgeo.org/postgis/trunk@12278 b70326c6-7e19-0410-871a-916f4a2858ee
2014-02-24 20:46:27 +00:00
Sandro Santilli
34dd8cd18d
Output single upgrade script for topology: topology_upgrade.sql
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12277 b70326c6-7e19-0410-871a-916f4a2858ee
2014-02-24 20:46:17 +00:00
Sandro Santilli
f310abd07a
Output single upgrade script for rtpostgis: rtpostgis_upgrade.sql
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12276 b70326c6-7e19-0410-871a-916f4a2858ee
2014-02-24 19:24:35 +00:00
Sandro Santilli
0f6eae27b7
Update ignore file now that we have a single postgis_upgrade.sql
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12275 b70326c6-7e19-0410-871a-916f4a2858ee
2014-02-24 18:37:28 +00:00
Sandro Santilli
95c185ad72
Output single upgrade script for postgis: postgis_upgrade.sql
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12274 b70326c6-7e19-0410-871a-916f4a2858ee
2014-02-24 18:31:00 +00:00
Sandro Santilli
f8ba47357a
Let users without topology privileges call postgis_full_version()
...
Closes #2655
git-svn-id: http://svn.osgeo.org/postgis/trunk@12273 b70326c6-7e19-0410-871a-916f4a2858ee
2014-02-24 10:26:44 +00:00
Sandro Santilli
c26bbff768
Have postgis_proc_upgrade read "source" version from the live db
...
The "version_from" parameter becomes then obsoleted (still accepted)
See #2560
git-svn-id: http://svn.osgeo.org/postgis/trunk@12271 b70326c6-7e19-0410-871a-916f4a2858ee
2014-02-24 08:26:03 +00:00
Sandro Santilli
4a01c02169
Fully qualify calls to topology methods ( #2653 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12269 b70326c6-7e19-0410-871a-916f4a2858ee
2014-02-24 06:45:40 +00:00
Sandro Santilli
e716339cea
Do not use ubuntugis-unstable
...
Also, search for libgdal and postgresql-server
git-svn-id: http://svn.osgeo.org/postgis/trunk@12267 b70326c6-7e19-0410-871a-916f4a2858ee
2014-02-23 17:36:13 +00:00
Sandro Santilli
55043d1970
Strip carriage returns from .travis.yml
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12266 b70326c6-7e19-0410-871a-916f4a2858ee
2014-02-23 17:35:18 +00:00
Sandro Santilli
27965e6182
Fix AGG signatures with multi-word typenames
...
For example... "double precision".
This fixes upgrades involving drop/recreate of aggregates
git-svn-id: http://svn.osgeo.org/postgis/trunk@12262 b70326c6-7e19-0410-871a-916f4a2858ee
2014-02-23 16:29:45 +00:00
Sandro Santilli
1a3acbde35
Fix --extension --upgrade handling
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12261 b70326c6-7e19-0410-871a-916f4a2858ee
2014-02-23 16:22:39 +00:00
Sandro Santilli
55528551aa
Fix ambiguous query in tickets.sql when raster support is loaded
...
See #2651
git-svn-id: http://svn.osgeo.org/postgis/trunk@12260 b70326c6-7e19-0410-871a-916f4a2858ee
2014-02-23 16:13:41 +00:00
Sandro Santilli
15f2a34924
Do not force extension-specific removal of objects on upgrade
...
It should be taken care of by the upgrade scripts themselves
git-svn-id: http://svn.osgeo.org/postgis/trunk@12259 b70326c6-7e19-0410-871a-916f4a2858ee
2014-02-23 16:09:22 +00:00
Sandro Santilli
9f37afb87e
Add support for --extension --upgrade in run_test.pl
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12257 b70326c6-7e19-0410-871a-916f4a2858ee
2014-02-23 15:42:43 +00:00
Sandro Santilli
ae03e42080
Allow DROP (with no IF EXISTS) to end up in upgrade scripts
...
Fixes raster upgrade
git-svn-id: http://svn.osgeo.org/postgis/trunk@12255 b70326c6-7e19-0410-871a-916f4a2858ee
2014-02-22 21:49:57 +00:00
Sandro Santilli
979e81a3e6
More drop of non-obsoleted aggregate signatures removed
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12254 b70326c6-7e19-0410-871a-916f4a2858ee
2014-02-22 21:29:22 +00:00
Sandro Santilli
555190a091
Do not force drop of non-obsoleted aggregate signatures
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12253 b70326c6-7e19-0410-871a-916f4a2858ee
2014-02-22 21:09:25 +00:00
Sandro Santilli
75378ce1c9
Fix cleaning rule
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12252 b70326c6-7e19-0410-871a-916f4a2858ee
2014-02-22 21:09:05 +00:00
Sandro Santilli
90b0d7a635
Simplify use of flags
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12251 b70326c6-7e19-0410-871a-916f4a2858ee
2014-02-22 20:44:46 +00:00
Sandro Santilli
cfa4a5cfff
Ignore new temporary raster upgrade files
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12250 b70326c6-7e19-0410-871a-916f4a2858ee
2014-02-22 20:39:11 +00:00
Sandro Santilli
2231d33c27
Fix build of unit tests with libtool 2.4.2
...
The error was:
undefined reference to symbol 'lround@@GLIBC_2.2.5'
For some reason -lm found in liblwgeom.la is not being taken
in consideration. See #2649
git-svn-id: http://svn.osgeo.org/postgis/trunk@12249 b70326c6-7e19-0410-871a-916f4a2858ee
2014-02-22 20:34:17 +00:00
Sandro Santilli
6569f099be
Fix reference to website
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12248 b70326c6-7e19-0410-871a-916f4a2858ee
2014-02-22 20:11:10 +00:00
Sandro Santilli
650ab5db27
Stop copying upgrade minor from upgrade_prev
...
postgis_proc_upgrade should do the right thing
git-svn-id: http://svn.osgeo.org/postgis/trunk@12247 b70326c6-7e19-0410-871a-916f4a2858ee
2014-02-22 20:10:54 +00:00
Sandro Santilli
293224833b
Print warning on missing last updated info in aggregates
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12246 b70326c6-7e19-0410-871a-916f4a2858ee
2014-02-22 16:48:43 +00:00
Sandro Santilli
e62b5e666b
Use last Changed/Availability in a multi-change comment
...
See #2560
git-svn-id: http://svn.osgeo.org/postgis/trunk@12245 b70326c6-7e19-0410-871a-916f4a2858ee
2014-02-22 16:29:33 +00:00
Sandro Santilli
0922830a33
Extract "last updated" info of aggregates from sql
...
See #2560
git-svn-id: http://svn.osgeo.org/postgis/trunk@12244 b70326c6-7e19-0410-871a-916f4a2858ee
2014-02-22 16:16:51 +00:00
Sandro Santilli
beba6d2c75
Soft upgrade: avoid drop/recreate of aggregates that hadn't changed
...
Generate raster upgrade script using postgis_proc_upgrade
Add 2.2.0 availability for new raster aggregates
See #2560
git-svn-id: http://svn.osgeo.org/postgis/trunk@12243 b70326c6-7e19-0410-871a-916f4a2858ee
2014-02-22 15:31:22 +00:00
Sandro Santilli
4d2200e856
Fully qualify topology.topology ( #2648 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12237 b70326c6-7e19-0410-871a-916f4a2858ee
2014-02-22 08:36:05 +00:00
Regina Obe
b18e4995db
#2646 typo arithmetric -> arithmetric in ST_Centroid
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12235 b70326c6-7e19-0410-871a-916f4a2858ee
2014-02-20 05:46:38 +00:00
Regina Obe
9fa1b3c6b9
#2576 Error in manual wrt using_raster RT_PLPython
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12233 b70326c6-7e19-0410-871a-916f4a2858ee
2014-02-14 03:32:28 +00:00
Regina Obe
074c183232
#25#2582 fix all references to -1 in constructors and change to 0 (SRID Unknown)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12231 b70326c6-7e19-0410-871a-916f4a2858ee
2014-02-14 03:25:29 +00:00
Paul Ramsey
dd5479d85d
#2534 , st_distance is returning incorrect results for large geographies
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12228 b70326c6-7e19-0410-871a-916f4a2858ee
2014-02-05 23:00:07 +00:00
Paul Ramsey
58014e647f
#2632 , ST_AsGML for curve types
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12227 b70326c6-7e19-0410-871a-916f4a2858ee
2014-02-05 17:43:48 +00:00
Paul Ramsey
d3f1449ed2
#2396 , wrap wkb outputting tests in explicit endianness
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12225 b70326c6-7e19-0410-871a-916f4a2858ee
2014-02-05 05:25:24 +00:00
Paul Ramsey
b5478af2c9
#2615 , EstimatedExtent (and hence, underlying stats) gathering wrong bbox
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12224 b70326c6-7e19-0410-871a-916f4a2858ee
2014-02-04 23:17:50 +00:00
Paul Ramsey
d32cdb4444
#2543 , invalid join selectivity error from simple query
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12222 b70326c6-7e19-0410-871a-916f4a2858ee
2014-02-04 22:44:33 +00:00
Paul Ramsey
ab66d2ddf1
#2556 , geography ST_Intersects results depending on insert order
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12219 b70326c6-7e19-0410-871a-916f4a2858ee
2014-02-04 19:44:00 +00:00
Sandro Santilli
3fd9f1e4ea
Drop more geometry::text casts ( #2616 )
...
Drop them from get*bypoint functions and from
TopoJSON and GML export functions
git-svn-id: http://svn.osgeo.org/postgis/trunk@12217 b70326c6-7e19-0410-871a-916f4a2858ee
2014-02-04 08:39:05 +00:00
Sandro Santilli
ab7b85c3b8
Fix ST_ModEdgeSplit documentation ( #2633 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12215 b70326c6-7e19-0410-871a-916f4a2858ee
2014-02-04 08:34:54 +00:00
Paul Ramsey
2506552da8
Add more info to circtree structures
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12211 b70326c6-7e19-0410-871a-916f4a2858ee
2014-02-04 05:57:22 +00:00
Paul Ramsey
f64e783470
#2588 , GeometryCollection constructor parse defect for sub geometries (POINTM,POLYGONM,...) of GEOMETRYCOLLECTIONM (From bergun)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12204 b70326c6-7e19-0410-871a-916f4a2858ee
2014-01-30 19:17:07 +00:00
Nicklas Avén
eaf91d31db
First varint cunit test
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12201 b70326c6-7e19-0410-871a-916f4a2858ee
2014-01-29 21:47:27 +00:00
Nicklas Avén
f90f08ddd6
Remove flagging for first vertex and just substract with 0 instead
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12200 b70326c6-7e19-0410-871a-916f4a2858ee
2014-01-29 21:44:41 +00:00
Nicklas Avén
36c17d6fb1
Use signed instead of unsignet varint for ID and check for values out of varint range
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12199 b70326c6-7e19-0410-871a-916f4a2858ee
2014-01-29 21:32:08 +00:00