Skip to content

Commit

Permalink
postgis 2.4.0
Browse files Browse the repository at this point in the history
This is a prerequisite for upgrading to postgresql 10.0, but should
still be backwards compatible until postgres 9.3.

Closes #19113.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
  • Loading branch information
felixbuenemann authored and ilovezfs committed Oct 7, 2017
1 parent c5581f5 commit fc09375
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Formula/postgis.rb
@@ -1,8 +1,8 @@
class Postgis < Formula
desc "Adds support for geographic objects to PostgreSQL"
homepage "https://postgis.net/"
url "http://download.osgeo.org/postgis/source/postgis-2.3.2.tar.gz"
sha256 "e92e34c18f078a3d1a2503cd870efdc4fa9e134f0bcedbbbdb8b46b0e6af09e4"
url "http://download.osgeo.org/postgis/source/postgis-2.4.0.tar.gz"
sha256 "02baa90f04da41e04b6c18eedfda53110c45ae943d4e65050f6d202f7de07d29"

bottle do
cellar :any
Expand Down Expand Up @@ -117,11 +117,11 @@ def install
def caveats
<<-EOS.undent
To create a spatially-enabled database, see the documentation:
https://postgis.net/docs/manual-2.2/postgis_installation.html#create_new_db_extensions
https://postgis.net/docs/manual-2.4/postgis_installation.html#create_new_db_extensions
If you are currently using PostGIS 2.0+, you can go the soft upgrade path:
ALTER EXTENSION postgis UPDATE TO "#{version}";
Users of 1.5 and below will need to go the hard-upgrade path, see here:
https://postgis.net/docs/manual-2.2/postgis_installation.html#upgrading
https://postgis.net/docs/manual-2.4/postgis_installation.html#upgrading
PostGIS SQL scripts installed to:
#{opt_pkgshare}
Expand Down

0 comments on commit fc09375

Please sign in to comment.