From: Michael Granger Date: 2013-04-09T03:14:49+09:00 Subject: [ANN] pg 0.15.1 Released pg version 0.15.1 has been released! * (home) * (mirror) * (docs) Pg is the Ruby interface to the {PostgreSQL RDBMS}[http://www.postgresql.org/]. It works with {PostgreSQL 8.4 and later}[http://www.postgresql.org/support/versioning/]. A small example usage: #!/usr/bin/env ruby require 'pg' # Output a table of current connections to the DB conn = PG.connect( dbname: 'sales' ) conn.exec( "SELECT * FROM pg_stat_activity" ) do |result| puts " PID | User | Query" result.each do |row| puts " %7d | %-16s | %s " % row.values_at('procpid', 'usename', 'current_query') end end Changes: == v0.15.1 [2013-04-08] Michael Granger Bugfixes: - Shorten application_name to avoid warnings about truncated identifier.