rahim / postgres-pr forked from mneumann/postgres-pr

A pure-Ruby (pr) library for accessing PostgreSQL databases

This URL has Read+Write access

name age message
file README Fri Oct 31 01:16:01 -0700 2008 Project moved away from ruby-dbi to it's own ru... [mneumann]
file TODO Thu Nov 18 16:14:21 -0800 2004 * messages SSLRequest and PasswordMessage added... [mneumann]
directory examples/ Thu Feb 26 13:41:27 -0800 2009 Use location for Linux [mneumann]
directory lib/ Loading commit data...
file postgres-pr.gemspec
directory test/ Mon Nov 22 15:05:19 -0800 2004 * moved classes and modules into PostgresPR mod... [mneumann]
README
= Pure Ruby PostgreSQL interface

This is a library to access PostgreSQL (>= 7.4) from Ruby without the need of
any C library.

== Author and Copyright

Copyright (c) 2005, 2008 by Michael Neumann (mneumann@ntecs.de). 
Released under the same terms of license as Ruby.

== Homepage

http://rubyforge.org/projects/ruby-dbi

== Quick Example

  > gem install postgres-pr
  > irb -r rubygems 

Then in the interactive Ruby interpreter type (replace DBNAME and DBUSER
accordingly):

  require 'postgres-pr/connection'
  c = PostgresPR::Connection.new('DBNAME', 'DBUSER')
  c.query('SELECT 1+2').rows              # => [["3"]]