Opened 11 years ago
Closed 11 years ago
#21713 closed Bug (fixed)
extension "postgis" already exists' during syncdb
Reported by: | Thomas Schreiber | Owned by: | nobody |
---|---|---|---|
Component: | GIS | Version: | 1.6 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
I am hitting an error on Django 1.7 master, PostgreSQL 9.3.2, postgis 2.1.1. 'django.db.utils.ProgrammingError: extension "postgis" already exists' when running tests.
Changing "CREATE EXTENSION postgis" to "CREATE EXTENSION IF NOT EXISTS postgis" works around the issue.
A pull request is here:
https://github.com/django/django/pull/2130
Change History (2)
comment:1 by , 11 years ago
Triage Stage: | Unreviewed → Ready for checkin |
---|
comment:2 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Fixed in 7b119c1c77c8e0d17b55088f83a1552c73ceb31c