Method: Sequel::Postgres::Database#disconnect_connection

Defined in:
lib/sequel/adapters/postgres.rb

#disconnect_connection(conn) ⇒ Object

[View source]

292
293
294
295
296
# File 'lib/sequel/adapters/postgres.rb', line 292

def disconnect_connection(conn)
  conn.finish
rescue PGError, IOError
  nil
end