Package Info

rubygem-pg


Pg is the Ruby interface to the PostgreSQL RDBMS


Development/Languages/Ruby

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:

require 'pg'

conn = PG.connect( dbname: 'sales' ) conn.exec( "SELECT * FROM pg_stat_activity" ) do |result| puts " PID | User | Query" result.each do |row| puts " %7d | | %s " % row.values_at('procpid', 'usename', 'current_query') end end.


License: BSD-2-Clause
URL: https://github.com/ged/ruby-pg

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
1.2.3-bp155.2.13 info GA Release 2023-05-22 15 SP5
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • ruby2.5-rubygem-pg
  • ruby2.5-rubygem-pg-doc
  • ruby2.5-rubygem-pg-testsuite
1.2.3-bp154.1.25 info GA Release 2022-05-09 15 SP4
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • ruby2.5-rubygem-pg
  • ruby2.5-rubygem-pg-doc
  • ruby2.5-rubygem-pg-testsuite
1.2.3-bp153.1.20 info GA Release 2021-05-10 15 SP3
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • ruby2.5-rubygem-pg
  • ruby2.5-rubygem-pg-doc
  • ruby2.5-rubygem-pg-testsuite
1.2.3-bp152.1.1 info GA Release 2020-05-18 15 SP2
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • ruby2.5-rubygem-pg
  • ruby2.5-rubygem-pg-doc
  • ruby2.5-rubygem-pg-testsuite
0.20.0-bp151.3.1 info GA Release 2019-07-17 15 SP1
  • AArch64
  • ppc64le
  • s390x
  • ruby2.5-rubygem-pg
  • ruby2.5-rubygem-pg-doc
  • ruby2.5-rubygem-pg-testsuite
0.20.0-bp151.2.14 info GA Release 2019-05-18 15 SP1
  • x86-64
  • ruby2.5-rubygem-pg
  • ruby2.5-rubygem-pg-doc
  • ruby2.5-rubygem-pg-testsuite
0.20.0-bp150.2.4 info GA Release 2018-07-30 15
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • ruby2.5-rubygem-pg
  • ruby2.5-rubygem-pg-doc
  • ruby2.5-rubygem-pg-testsuite