Commit graph

21 commits

Author SHA1 Message Date
Sandro Santilli 7cc0eff83f Add rules on geometry_columns view to tolerate insert/update/delete
Fixes OGR, see #1426. Raises no warning on operation (it should).
This commit includes changes in postgis_proc_upgrade.pl to retain rules.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8749 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-10 18:12:27 +00:00
Sandro Santilli 7c12e01d59 Always output create ore replace view in upgrade scripts (#1097)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8380 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-13 10:38:19 +00:00
Sandro Santilli 91a9f373bf Allow function definitions to end with '$$ LANGUAGE' (#1365)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8379 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-13 09:59:10 +00:00
Sandro Santilli 43e96e3168 Use warnings
git-svn-id: http://svn.osgeo.org/postgis/trunk@8378 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-13 09:59:01 +00:00
Sandro Santilli 3f59a23ae5 Add copyright headers, looking at SCM logs. Review welcome.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8376 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-13 09:16:09 +00:00
Paul Ramsey 2c29303c60 Include 'geography_columns' defn when upgrading from <= 1.4 (#414)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5387 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-09 00:31:26 +00:00
Paul Ramsey 2ceb73238d Make proper #! calls to perl in perl scripts
git-svn-id: http://svn.osgeo.org/postgis/trunk@5145 b70326c6-7e19-0410-871a-916f4a2858ee
2010-01-20 20:17:09 +00:00
Paul Ramsey 869a3efc1d Add testing and drop deprecated functions (#202)
git-svn-id: http://svn.osgeo.org/postgis/trunk@4806 b70326c6-7e19-0410-871a-916f4a2858ee
2009-11-14 00:40:37 +00:00
Paul Ramsey ace720499f Build out version specific upgrade scripts.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4804 b70326c6-7e19-0410-871a-916f4a2858ee
2009-11-13 22:13:17 +00:00
Paul Ramsey f0c974e159 First baby steps towards version-specific loader
git-svn-id: http://svn.osgeo.org/postgis/trunk@4803 b70326c6-7e19-0410-871a-916f4a2858ee
2009-11-13 20:04:37 +00:00
Paul Ramsey 3ddf5e2d54 Change error message to be more relevant
git-svn-id: http://svn.osgeo.org/postgis/trunk@4268 b70326c6-7e19-0410-871a-916f4a2858ee
2009-07-08 00:20:48 +00:00
Paul Ramsey 720e82399b More work on 1.4 upgrade script.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4158 b70326c6-7e19-0410-871a-916f4a2858ee
2009-06-09 22:51:14 +00:00
Paul Ramsey 3ce6406a06 Work on upgrade script.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4156 b70326c6-7e19-0410-871a-916f4a2858ee
2009-06-08 23:21:55 +00:00
Paul Ramsey a8f9418523 Fix for issue #189, includes implicit requirement for 8.2+ in DROP AGGREGATE
git-svn-id: http://svn.osgeo.org/postgis/trunk@4132 b70326c6-7e19-0410-871a-916f4a2858ee
2009-06-03 23:56:23 +00:00
Sandro Santilli 4a7419bd7a Fixed version checker to only use Major to compare
git-svn-id: http://svn.osgeo.org/postgis/trunk@2214 b70326c6-7e19-0410-871a-916f4a2858ee
2005-12-16 08:33:04 +00:00
Sandro Santilli 5df48e3056 Added comment about the use of postgis_lib_version in version checker
(last commit log was incomplete)


git-svn-id: http://svn.osgeo.org/postgis/trunk@2212 b70326c6-7e19-0410-871a-916f4a2858ee
2005-12-16 01:48:52 +00:00
Sandro Santilli 6bb5849741 Unified SCRIPTS, LIB and RELEASE versions for the sake of simplicity.
postgis_scripts_released() will return the same as postgis_lib_version()
postgis_scripts_installed() return still the same numbers but as written
in the database at the time of lwpostgis.sql sourcing.


git-svn-id: http://svn.osgeo.org/postgis/trunk@2211 b70326c6-7e19-0410-871a-916f4a2858ee
2005-12-16 01:41:44 +00:00
Sandro Santilli 2d979bcd73 Changed major-minor version numbers extraction to be compatible with postgresql 7.2.1 (relies on the fact that this information will always be in the first 4 characters - single digit per version)
git-svn-id: http://svn.osgeo.org/postgis/trunk@2011 b70326c6-7e19-0410-871a-916f4a2858ee
2005-11-01 10:22:29 +00:00
Sandro Santilli d02c0b0d16 Added optional second argument to specify schema in which postgis functions are to be replaced
git-svn-id: http://svn.osgeo.org/postgis/trunk@2004 b70326c6-7e19-0410-871a-916f4a2858ee
2005-10-26 11:07:55 +00:00
Sandro Santilli 2a532cf632 Added (commented) aggregates handling
git-svn-id: http://svn.osgeo.org/postgis/trunk@1759 b70326c6-7e19-0410-871a-916f4a2858ee
2005-06-10 16:27:19 +00:00
Sandro Santilli 46ff6bbe79 Initial implementation of postgis procedures upgrade script
git-svn-id: http://svn.osgeo.org/postgis/trunk@1740 b70326c6-7e19-0410-871a-916f4a2858ee
2005-06-06 16:49:41 +00:00