Added support for postgis
upgrade