workaround to get PG_VERSION from settings. ``_verison may be deprecated``

error if don't use this:
self.connection._version[0:2]>=(9,1)
*** AttributeError: 'DatabaseWrapper' object has no attribute '_version'