4 5 6
# File 'lib/pghero/methods/kill.rb', line 4 def kill(pid) PgHero.truthy? execute("SELECT pg_terminate_backend(#{pid.to_i})").first["pg_terminate_backend"] end