{"id":82198,"library":"em-pg-client","title":"EM PG Client","description":"PostgreSQL asynchronous EventMachine client based on the pg interface (PG::Connection).","status":"active","version":"0.3.4","language":"ruby","source_language":null,"source_url":"https://github.com/royaltm/ruby-em-pg-client","tags":["postgresql","eventmachine","async","client"],"install":[{"cmd":"gem install em-pg-client","lang":"bash","label":"gem install"},{"cmd":"# Gemfile\ngem 'em-pg-client', '~> 0.3.4'","lang":"ruby","label":"Gemfile"}],"dependencies":[],"imports":[{"symbol":"EM::PG::Client","correct":"require 'em-pg-client'"}],"quickstart":{"code":"require 'em-pg-client'\nEM.run do\n  client = EM::PG::Client.new(dbname: 'test')\n  client.query(\"SELECT 1\") do |result|\n    puts result.inspect\n    EM.stop\n  end\nend","lang":"ruby","description":"Connect to PostgreSQL asynchronously using EventMachine."},"warnings":[{"fix":"Wrap usage inside an EM.run block or ensure EventMachine reactor is started.","message":"Requires EventMachine to be running; not compatible with threaded or non-EventMachine environments.","severity":"gotcha","affected_versions":">= 0.0.0"}],"env_vars":null,"search_vec":"'async':17 'asynchron':5 'base':8 'client':3,7,18 'connect':14 'em':1 'eventmachin':6,16 'interfac':12 'pg':2,11,13 'postgresql':4,15","created_at":"2026-06-19T05:14:11.867522+00:00","updated_at":"2026-06-19T05:14:11.867522+00:00","problems":[],"ecosystem":"rubygems","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"http://github.com/royaltm/ruby-em-pg-client","github":"https://github.com/royaltm/ruby-em-pg-client","docs":"http://www.rubydoc.info/gems/em-pg-client/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["database","networking"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}