support for postgis adapter.