class ActiveRecord::ConnectionAdapters::PostgreSQLAdapter

def connect

connected server's characteristics.
Connects to a PostgreSQL server and sets up the adapter depending on the
def connect
  @connection = self.class.new_client(@connection_parameters)
  configure_connection
  add_pg_encoders
  add_pg_decoders
end