In edge rails with PostgrelSQL 9.1.x, PostgreSQLAdapter#supports_extensions? always returns false .
But I think that PostgreSQL 9.1.x supports extension feature well (including hstore and uuid-ossp).
👍 I ran into this issue today. The result is that the schema dumper removes the enable_extension lines from db/schema.rb every time i run rake db:migrate. Postgres 9.1 most certainly supports extensions: http://www.postgresql.org/docs/9.1/static/sql-createextension.html
Screenshot of my db/schema.rb diff:
Can confirm this issue here as well. Same story as @BigNerdRanchDan.
@kennyj could you add a CHANGELOG entry?
Also support extensions in PostgreSQL 9.1, because this has been supp…
…orted since 9.1.
Remove unnecessary code, because this extension is created on demand …
@rafaelfranca I've updated it.
I think we should backport this PR to 4-0-stable too. wdyt?