public
Description: A pure-Ruby (pr) library for accessing PostgreSQL databases
Homepage: http://rubyforge.org/projects/postgres-pr
Clone URL: git://github.com/mneumann/postgres-pr.git
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/ Tue Dec 15 10:50:21 -0800 2009 Add quote_ident method for rails 2.3.{3,4} comp... [mneumann]
file postgres-pr.gemspec Tue Dec 15 10:43:19 -0800 2009 Fix URL [mneumann]
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"]]