def postgresql_version
          if undecorated_connection.respond_to?(:postgresql_version)
            super
          else
            undecorated_connection.send(:postgresql_version)
          end
        end
An integer representing the version of Postgres we're connected to.

postgresql_version is public in Rails 5, but protected in earlier
versions.

@return [Integer]