# File lib/active_record/connection_adapters/postgresql_adapter.rb, line 282
      def active?
        @connection.status == PGconn::CONNECTION_OK
      rescue PGError
        false
      end