[postgis-users] problems with 2.1.2 and new databases

Mateusz Łoskot mateusz at loskot.net
Wed Apr 9 11:04:12 PDT 2014


On 9 April 2014 18:58, Jay Moss <jaymoss3 at gmail.com> wrote:
>    2. spatially enable it using psql and "CREATE EXTENSION postgis".

You need to decide, either you are installing as an extension

>    4. update the postgressql search path to add my new db at the front of
> the list.
>    5. run  \share\contrib\postgis-2.1\postgis.sql  -  FAILS
>    6. run  \share\contrib\postgis-2.1\spatial_ref_sys.sql
>    7. run  \share\contrib\postgis-2.1\postgis_comments.sql

or you go old fashion and import the scripts manually

These are two different options to choose from.
See http://postgis.net/docs/manual-2.1/postgis_installation.html

Best regards,
-- 
Mateusz  Łoskot, http://mateusz.loskot.net


More information about the postgis-users mailing list