#20656: test db spatial extentsion not created when using new postgis 2.0
"CREATE
EXTENSION postgis;" method
-------------------------------+--------------------------------------
Reporter: monkut | Owner: nobody
Type: Uncategorized | Status: closed
Component: Uncategorized | Version: 1.5
Severity: Normal | Resolution: needsinfo
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Comment (by timgraham):
I ran into this problem and fixed it by dropping the PostGIS template as
Anssi suggested in comment 4:
{{{
postgres=# UPDATE pg_database SET datistemplate='false' WHERE
datname='template_postgis';
UPDATE 1
postgres=# DROP DATABASE template_postgis;
DROP DATABASE
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/20656#comment:11>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/064.a4b76eb90c30af6fae9f0d40edadf10d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.