only create the postgis extension when it does not already exist #2130

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
3 participants
Member

mjtamlyn commented Dec 31, 2013

While I don't really see how this change can hurt, how does your test database already have the extension set up? Is there a way of making postgres do it automatically?

Owner

timgraham commented Dec 31, 2013

merged in 7b119c1

timgraham closed this Dec 31, 2013

Contributor

rizumu commented Dec 31, 2013

@mjtamlyn recently I ran psql -d template1 -c "CREATE EXTENSION postgis;" which probably altered the template from which the test db and syncdb is created from.

Member

mjtamlyn commented Dec 31, 2013

Yup, that is a reasonable thing to do. I was just curious how the situation had arisen, but that makes sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment