class PgConn::SessionMethods
def exclusive(database, &block)
def exclusive(database, &block) !database.nil? or raise ArgumentError begin disable(database) terminate(database, nil) yield ensure enable(database) end end
def exclusive(database, &block) !database.nil? or raise ArgumentError begin disable(database) terminate(database, nil) yield ensure enable(database) end end