RubyGems Navigation menu

pg 1.2.3

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

Versiones:

  1. 1.2.3 - March 18, 2020 x86-mingw32 (2 MB)
  2. 1.2.3 - March 18, 2020 x64-mingw32 (2 MB)
  3. 1.2.3 - March 18, 2020 (200 KB)
  4. 1.2.2 - January 08, 2020 x86-mingw32 (2 MB)
  5. 1.2.2 - January 08, 2020 x64-mingw32 (2 MB)
Mostrar todas las versiones (159 total)

Propietarios:

Subida por:

Autores:

  • Michael Granger, Lars Kanis

SHA 256 checksum:

f2e71e101eb7fc297222fa9a277a89a9686729a8dfa416d46408e696b5cfae8e

Total de descargas 125.301.237

Para esta versión 8.325.054

Gemfile:
= Copiar al portapapeles ¡Copiado!

instalar:
=

Licencia:

BSD-2-Clause

Versión de Ruby requerida: >= 2.2

Enlace: