Last active
September 12, 2016 05:51
-
-
Save matthewberryman/f3e0345c9522c513efb8c2b33f4b0f47 to your computer and use it in GitHub Desktop.
my script for converting postgresql sql file from postgis 2.1 to postgis 2.2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| sed -i -e 's/libdir\/rtpostgis-2.1/libdir\/rtpostgis-2.2/g; s/libdir\/postgis-2.1/libdir\/postgis-2.2/g; s/LWGEOMFromWKB/LWGEOMFromEWKB/g' $1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment