Commit graph

70 commits

Author SHA1 Message Date
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 370308692b Update the hard upgrade script to handle 1.4 transition. (#144)
git-svn-id: http://svn.osgeo.org/postgis/trunk@4160 b70326c6-7e19-0410-871a-916f4a2858ee
2009-06-09 23:54:15 +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
Paul Ramsey e95520673f New restore script, much simpler, takes -Fc dump and writes back ASCII on stdout
git-svn-id: http://svn.osgeo.org/postgis/trunk@3681 b70326c6-7e19-0410-871a-916f4a2858ee
2009-02-10 20:06:00 +00:00
Paul Ramsey 776fb3ccbb Fix case sensitive in AGGREGATE reading.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3675 b70326c6-7e19-0410-871a-916f4a2858ee
2009-02-09 23:51:30 +00:00
Paul Ramsey 6e5407174a pass commandline options into backend command (#45)
git-svn-id: http://svn.osgeo.org/postgis/trunk@3047 b70326c6-7e19-0410-871a-916f4a2858ee
2008-10-02 16:00:22 +00:00
Sandro Santilli 01a7e6bcc5 * utils/postgis_restore.pl (canonicalize_typename):
canonicalize 'timezone .* time stamp' to 'timezone'
          (fixes bug #121)


git-svn-id: http://svn.osgeo.org/postgis/trunk@2530 b70326c6-7e19-0410-871a-916f4a2858ee
2006-11-20 12:59:55 +00:00
Sandro Santilli c3a06c5fd6 Patch by Havard Tveite <havard.tveite@nlh.no>:
* doc/postgix.xml (Hard Upgrade): add info about createdb params
        * utils/postgis_restore.pl: fix use of createdb params



git-svn-id: http://svn.osgeo.org/postgis/trunk@2527 b70326c6-7e19-0410-871a-916f4a2858ee
2006-11-10 14:11:32 +00:00
Sandro Santilli 0b98bdb1c5 Commented out debugging premature exit left from last review
git-svn-id: http://svn.osgeo.org/postgis/trunk@2281 b70326c6-7e19-0410-871a-916f4a2858ee
2006-01-17 08:36:28 +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 144832fcdc Fixed handling of CAST for 8.0.0 restore.
Type name canonicalization function defined separately.


git-svn-id: http://svn.osgeo.org/postgis/trunk@2151 b70326c6-7e19-0410-871a-916f4a2858ee
2005-12-07 12:22:13 +00:00
Sandro Santilli 75fa1f59e5 Added note about OID column drop in pre 8.1 to 8.1+ upgrades
git-svn-id: http://svn.osgeo.org/postgis/trunk@2150 b70326c6-7e19-0410-871a-916f4a2858ee
2005-12-07 09:05:55 +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 16ea9d8a06 Checked for PSQL run success
git-svn-id: http://svn.osgeo.org/postgis/trunk@1857 b70326c6-7e19-0410-871a-916f4a2858ee
2005-08-04 16:29:39 +00:00
Sandro Santilli 6bf1af951b Added plpgsql_validator explicit function skip
git-svn-id: http://svn.osgeo.org/postgis/trunk@1852 b70326c6-7e19-0410-871a-916f4a2858ee
2005-08-04 14:54:36 +00:00
Sandro Santilli 0fdbd3a080 Added more obsoleted functions, new obsoleted_ops considered,
check of pg_restore -l return code, better regexp to allow broader
range of dump/restore versions.


git-svn-id: http://svn.osgeo.org/postgis/trunk@1844 b70326c6-7e19-0410-871a-916f4a2858ee
2005-07-29 22:08:43 +00:00
Sandro Santilli 42dd4fffc8 Fixed bug reported by klaus F�rster
git-svn-id: http://svn.osgeo.org/postgis/trunk@1815 b70326c6-7e19-0410-871a-916f4a2858ee
2005-07-13 14:26:47 +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
Sandro Santilli 5101e37e0d Moved create_undef.pl from root to utils/ dir
git-svn-id: http://svn.osgeo.org/postgis/trunk@1737 b70326c6-7e19-0410-871a-916f4a2858ee
2005-06-06 16:47:52 +00:00
Sandro Santilli 89ca28cb1f Applied 'strictness' patch by James Marca
git-svn-id: http://svn.osgeo.org/postgis/trunk@1719 b70326c6-7e19-0410-871a-916f4a2858ee
2005-05-18 17:01:36 +00:00
Sandro Santilli 0aab872cb9 Allowed custom args passing to createdb invocation
git-svn-id: http://svn.osgeo.org/postgis/trunk@1703 b70326c6-7e19-0410-871a-916f4a2858ee
2005-05-16 07:49:21 +00:00
Sandro Santilli a48cf0cee3 Fixed bug in table2 schema parsing.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1633 b70326c6-7e19-0410-871a-916f4a2858ee
2005-04-18 13:50:14 +00:00
Sandro Santilli 92936ac09e Fixed to work against LWGEOM installations
git-svn-id: http://svn.osgeo.org/postgis/trunk@1631 b70326c6-7e19-0410-871a-916f4a2858ee
2005-04-18 13:30:25 +00:00
Sandro Santilli bde285d05c Changed she-bang back the way it was (disabled) - didn't work like that! Added {x,y}{min,max}(box2d) to list of obsoleted funx.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1580 b70326c6-7e19-0410-871a-916f4a2858ee
2005-03-29 16:33:20 +00:00
Sandro Santilli 5daaafe0a6 Fixed bogus she-bang
git-svn-id: http://svn.osgeo.org/postgis/trunk@1567 b70326c6-7e19-0410-871a-916f4a2858ee
2005-03-25 14:48:58 +00:00
Sandro Santilli 6bb985fe14 Hash used for detecting obsoleted funx in dump
git-svn-id: http://svn.osgeo.org/postgis/trunk@1547 b70326c6-7e19-0410-871a-916f4a2858ee
2005-03-18 17:23:20 +00:00
Sandro Santilli f26a41af99 Added utils rule to set the execute bit on utilities.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1515 b70326c6-7e19-0410-871a-916f4a2858ee
2005-03-08 12:11:29 +00:00
Sandro Santilli 9564ee467e Added wkb_recv and wkb_send obsoleted functions handling
git-svn-id: http://svn.osgeo.org/postgis/trunk@1398 b70326c6-7e19-0410-871a-916f4a2858ee
2005-02-17 08:36:54 +00:00
Sandro Santilli 53973c86b6 Fixed help string, and added a TODO item
git-svn-id: http://svn.osgeo.org/postgis/trunk@1182 b70326c6-7e19-0410-871a-916f4a2858ee
2004-12-23 14:48:25 +00:00
Sandro Santilli d9a5bf31c6 initial revision
git-svn-id: http://svn.osgeo.org/postgis/trunk@1178 b70326c6-7e19-0410-871a-916f4a2858ee
2004-12-22 17:02:17 +00:00
Sandro Santilli a51f1830a8 pg_restore-800 handling
git-svn-id: http://svn.osgeo.org/postgis/trunk@1154 b70326c6-7e19-0410-871a-916f4a2858ee
2004-12-16 12:07:11 +00:00
Sandro Santilli 47aeec35a1 Die if target database exists
git-svn-id: http://svn.osgeo.org/postgis/trunk@1148 b70326c6-7e19-0410-871a-916f4a2858ee
2004-12-15 09:43:21 +00:00
Sandro Santilli ef88caf137 Handled more schema specification in 800 pg_restore output.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1136 b70326c6-7e19-0410-871a-916f4a2858ee
2004-12-13 12:56:25 +00:00
Sandro Santilli e6b6a29174 Massaged to work with pg_dump-7.2 and pg_restore-7.2
git-svn-id: http://svn.osgeo.org/postgis/trunk@1107 b70326c6-7e19-0410-871a-916f4a2858ee
2004-11-19 17:39:33 +00:00
Sandro Santilli 44e7ff4edd updated
git-svn-id: http://svn.osgeo.org/postgis/trunk@896 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-27 08:24:40 +00:00
Sandro Santilli efe23165e7 Added USE_GIST variable on top of file. Changed true values report
as fraction of total rows.


git-svn-id: http://svn.osgeo.org/postgis/trunk@895 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-27 08:23:45 +00:00
Sandro Santilli ecd1354dc6 Added worst and best percentile for both intersects and distance
git-svn-id: http://svn.osgeo.org/postgis/trunk@893 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-24 12:20:56 +00:00
Sandro Santilli d14e59a8e3 approximated nums to 2 decimal digits
git-svn-id: http://svn.osgeo.org/postgis/trunk@892 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-24 11:58:01 +00:00
Sandro Santilli ec85a41761 initial intersects profiler frontend implementation
git-svn-id: http://svn.osgeo.org/postgis/trunk@891 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-24 11:35:45 +00:00
Sandro Santilli d23e4e4dfe fixed typo
git-svn-id: http://svn.osgeo.org/postgis/trunk@833 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-20 08:21:04 +00:00
Sandro Santilli 09c76c7840 Hardcoded some functions being obsoleted
git-svn-id: http://svn.osgeo.org/postgis/trunk@711 b70326c6-7e19-0410-871a-916f4a2858ee
2004-08-20 14:52:10 +00:00
Sandro Santilli 5165c72c40 Fixed a bug in ascii dump "CREATE OPERATOR" scan
git-svn-id: http://svn.osgeo.org/postgis/trunk@690 b70326c6-7e19-0410-871a-916f4a2858ee
2004-08-19 10:52:28 +00:00
Sandro Santilli bdc5c11cf1 Added skip of postgisgistcostestimate (obsoleted)
git-svn-id: http://svn.osgeo.org/postgis/trunk@684 b70326c6-7e19-0410-871a-916f4a2858ee
2004-08-18 13:21:53 +00:00
Sandro Santilli f8f44e29fb Initial support for geometry->lwgeom switch (dump objects defined for
'geometry' are considered same of sql object defined for 'oldgeometry')


git-svn-id: http://svn.osgeo.org/postgis/trunk@680 b70326c6-7e19-0410-871a-916f4a2858ee
2004-08-17 14:30:34 +00:00