update postgres/postgis module + assorted changes