-
Name
-
pg
-
Version
-
0.18.2
-
Platform
-
x86-mingw32
-
Authors
-
Michael Granger
Lars Kanis
-
Bindir
-
bin
-
Date
-
2015-05-15 00:00:00 UTC
-
Dependencies
-
rdoc (~> 4.0, development)
rake-compiler (~> 0.9, development)
hoe (~> 3.12, development)
hoe-deveiate (~> 0.6, development)
hoe-bundler (~> 1.0, development)
rspec (~> 3.0, development)
-
Description
-
Pg is the Ruby interface to the {PostgreSQL RDBMS}[http://www.postgresql.org/].
It works with {PostgreSQL 8.4 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
-
Email
-
ged@FaerieMUD.org
lars@greiz-reinsdorf.de
-
Extra rdoc files
-
Contributors.rdoc
History.rdoc
Manifest.txt
README-OS_X.rdoc
README-Windows.rdoc
README.ja.rdoc
README.rdoc
ext/errorcodes.txt
POSTGRES
LICENSE
ext/gvl_wrappers.c
ext/pg.c
ext/pg_binary_decoder.c
ext/pg_binary_encoder.c
ext/pg_coder.c
ext/pg_connection.c
ext/pg_copy_coder.c
ext/pg_errors.c
ext/pg_result.c
ext/pg_text_decoder.c
ext/pg_text_encoder.c
ext/pg_type_map.c
ext/pg_type_map_all_strings.c
ext/pg_type_map_by_class.c
ext/pg_type_map_by_column.c
ext/pg_type_map_by_mri_type.c
ext/pg_type_map_by_oid.c
ext/pg_type_map_in_ruby.c
ext/util.c
-
Files
-
.gemtest
BSDL
ChangeLog
Contributors.rdoc
History.rdoc
LICENSE
Manifest.txt
POSTGRES
README-OS_X.rdoc
README-Windows.rdoc
README.ja.rdoc
README.rdoc
Rakefile
Rakefile.cross
ext/errorcodes.def
ext/errorcodes.rb
ext/errorcodes.txt
ext/extconf.rb
ext/gvl_wrappers.c
ext/gvl_wrappers.h
ext/pg.c
ext/pg.h
ext/pg_binary_decoder.c
ext/pg_binary_encoder.c
ext/pg_coder.c
ext/pg_connection.c
ext/pg_copy_coder.c
ext/pg_errors.c
ext/pg_result.c
ext/pg_text_decoder.c
ext/pg_text_encoder.c
ext/pg_type_map.c
ext/pg_type_map_all_strings.c
ext/pg_type_map_by_class.c
ext/pg_type_map_by_column.c
ext/pg_type_map_by_mri_type.c
ext/pg_type_map_by_oid.c
ext/pg_type_map_in_ruby.c
ext/util.c
ext/util.h
ext/vc/pg.sln
ext/vc/pg_18/pg.vcproj
ext/vc/pg_19/pg_19.vcproj
lib/1.9/pg_ext.so
lib/2.0/pg_ext.so
lib/2.1/pg_ext.so
lib/2.2/pg_ext.so
lib/i386-mingw32/libpq.dll
lib/pg.rb
lib/pg/basic_type_mapping.rb
lib/pg/coder.rb
lib/pg/connection.rb
lib/pg/constants.rb
lib/pg/exceptions.rb
lib/pg/result.rb
lib/pg/text_decoder.rb
lib/pg/text_encoder.rb
lib/pg/type_map_by_column.rb
sample/array_insert.rb
sample/async_api.rb
sample/async_copyto.rb
sample/async_mixed.rb
sample/check_conn.rb
sample/copyfrom.rb
sample/copyto.rb
sample/cursor.rb
sample/disk_usage_report.rb
sample/issue-119.rb
sample/losample.rb
sample/minimal-testcase.rb
sample/notify_wait.rb
sample/pg_statistics.rb
sample/replication_monitor.rb
sample/test_binary_values.rb
sample/wal_shipper.rb
sample/warehouse_partitions.rb
spec/data/expected_trace.out
spec/data/random_binary_data
spec/helpers.rb
spec/pg/basic_type_mapping_spec.rb
spec/pg/connection_spec.rb
spec/pg/result_spec.rb
spec/pg/type_map_by_class_spec.rb
spec/pg/type_map_by_column_spec.rb
spec/pg/type_map_by_mri_type_spec.rb
spec/pg/type_map_by_oid_spec.rb
spec/pg/type_map_in_ruby_spec.rb
spec/pg/type_map_spec.rb
spec/pg/type_spec.rb
spec/pg_spec.rb
-
Homepage
-
https://bitbucket.org/ged/ruby-pg
-
Licenses
-
BSD
Ruby
GPL
-
Rdoc options
-
-f
fivefish
-t
pg: The Ruby Interface to PostgreSQL
-m
README.rdoc
-
Require paths
-
lib
-
Required ruby version
-
>= 1.9.3
-
Required rubygems version
-
>= 0
-
Rubygems version
-
2.4.5
-
Specification version
-
4
-
Summary
-
Pg is the Ruby interface to the {PostgreSQL RDBMS}[http://www.postgresql.org/]
-
Original platform
-
x86-mingw32
-
New platform
-
x86-mingw32