Changes between Version 11 and Version 12 of UsersWikiPostGIS20Ubuntu1004src


Ignore:
Timestamp:
Aug 18, 2012, 1:21:14 AM (12 years ago)
Author:
Mike Taves
Comment:

true template

Legend:

Unmodified
Added
Removed
Modified
  • UsersWikiPostGIS20Ubuntu1004src

    v11 v12  
    6161sudo -u postgres createdb template_postgis
    6262sudo -u postgres createlang plpgsql template_postgis
     63sudo -u postgres psql -d template_postgis -c "UPDATE pg_database SET datistemplate=true WHERE datname='template_postgis'"
    6364sudo -u postgres psql -d template_postgis -f /usr/share/postgresql/8.4/contrib/postgis-2.0/postgis.sql
    6465sudo -u postgres psql -d template_postgis -f /usr/share/postgresql/8.4/contrib/postgis-2.0/spatial_ref_sys.sql