RubyGems Navigation menu

pg 0.19.0.pre20160904200247

Pg is the Ruby interface to the {PostgreSQL RDBMS}[http://www.postgresql.org/]. It works with {PostgreSQL 9.1 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

Versions:

  1. 1.1.3 - September 07, 2018 x86-mingw32 (1.99 MB)
  2. 1.1.3 - September 07, 2018 x64-mingw32 (2.15 MB)
  3. 1.1.3 - September 07, 2018 (228 KB)
  4. 1.1.2 - August 29, 2018 x86-mingw32 (1.99 MB)
  5. 1.1.2 - August 29, 2018 x64-mingw32 (2.15 MB)
  6. 0.19.0.pre20160904200247 - September 04, 2016 (223 KB)
Show all versions (144 total)

Authors:

  • Michael Granger, Lars Kanis

Owners:

Feef2024584d97a97338b964661ca795Abc11c007a3a284272d261b2dae6376e04cdb622ce0aac272b61f23f373e2abf

SHA 256 checksum:

5adfa34208a3ec6cae2388187a4684b5ce3243a77d4cad209a62675cda7ef70c

Total downloads 59,847,642

For this version 1,536

Gemfile:
= Copy to clipboard Copied!

install:
=

License:

BSD-3-Clause

Required Ruby Version: >= 2.0.0

Required Rubygems Version: > 1.3.1

Links: