RubyGems Navigation menu

pg 1.2.1-x64-mingw32

Pg is the Ruby interface to the {PostgreSQL RDBMS}[http://www.postgresql.org/]. It works with {PostgreSQL 9.2 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.2.2 - January 08, 2020 x86-mingw32 (1.83 MB)
  2. 1.2.2 - January 08, 2020 x64-mingw32 (2.02 MB)
  3. 1.2.2 - January 08, 2020 (192 KB)
  4. 1.2.1 - January 03, 2020 x86-mingw32 (1.88 MB)
  5. 1.2.1 - January 02, 2020 x64-mingw32 (2.07 MB)
Show all versions (156 total)

Owners:

Pushed by:

Authors:

  • Michael Granger, Lars Kanis

SHA 256 checksum:

989043e2f911cd50fa383f86a3b5cbc09c4af1ae3d63b3a52782fa64ccf9e134

Total downloads 100,106,752

For this version 668

Gemfile:
= Copy to clipboard Copied!

install:
=

License:

BSD-2-Clause

Required Ruby Version: >= 2.2, < 2.7.dev

Links: