Ubuntu 11.10 / Linux Mint 12 update to create_template_postgis-debian.sh
|Reported by:||Antti Kaihola||Owned by:||nobody|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Ubuntu 11.10 and derivatives ship with PostgreSQL 9.1, which the
create_template_postgis-debian.sh script included in the GeoDjango section of the documentation isn't able to handle.
I also noticed that if I manually create and run a PostgreSQL cluster on my system, created databases have the plpgsql language included by default. I needed to take that into account in the script as well.