class PgConn::SessionMethods

def enable(database)

Ensure connections to the given database are enabled
def enable(database)
  !database.nil? or raise ArgumentError
  conn.execute "alter database #{database} allow_connections = true"
end