RubyGems Navigation menu

pg 0.14.0-x86-mingw32

Pg is the Ruby interface to the {PostgreSQL RDBMS}[http://www.postgresql.org/]. It works with {PostgreSQL 8.3 and later}[http://bit.ly/6AfPhm]. 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

Gemfile:
=

installation:
=

Versions:

  1. 1.6.0.rc2 July 16, 2025 (217 ko)
  2. 1.6.0.rc2 July 16, 2025 arm64-darwin (3,93 Mo)
  3. 1.6.0.rc2 July 16, 2025 x86_64-darwin (3,54 Mo)
  4. 1.6.0.rc2 July 16, 2025 aarch64-linux (4,12 Mo)
  5. 1.6.0.rc2 July 16, 2025 x86_64-linux (3,85 Mo)
  6. 0.14.0 June 25, 2012 x86-mingw32 (1,55 Mo)
Voir toutes les versions (276)

Dépendances de Development (5):

hoe ~> 3.0
hoe-deveiate ~> 0.1
hoe-mercurial ~> 1.3.1
rake-compiler ~> 0.7
rdoc ~> 3.10

Propriétaires:

Auteurs:

  • Michael Granger

Total de contrôle SHA 256:

=

Total de téléchargements 382 118 120

Pour cette version 14 680

Version publiée:

License:

aucune

Version de Ruby requise: >= 1.8.7

Liens: