From: David Ross Date: 2004-11-19T02:07:35+09:00 Subject: Re: [ANN] postgres-pr (pure Ruby PostgreSQL) Michael Neumann wrote: > David Ross wrote: > >> Michael Neumann wrote: >> >>> Hi, >>> >>> I'm proud to announce the first public "release" of postgres-pr. >>> This is a library to access PostgreSQL from Ruby without the need of >>> any C >>> library. >>> >>> * You can use it only with newer 7.x databases that use >>> wire-protocol 3. >>> * Lot's of stuff is missing, only the wire-protocol is quite complete. >>> >>> 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 = Connection.new('DBNAME', 'DBUSER') >>> c.query('SELECT 1+2') # => [["3"]] >>> >>> Regards, >>> >>> Michael >>> >>> >> oh neato. I'm glad someone made a pure ruby version. >> >> Is there an rpa? > > > nope. maybe later, if it's better tested. > > Regards, > > Michael > > Maybe I'll throw it together then for batsman, I *love* postgres with a passion, and was going to use postgres as a backend for my project. I'm glad theres a pure ruby version, people hate compiling. Thanks a kilo Neumann Ross -- Hazzle free packages for Ruby? RPA is available from http://www.rubyarchive.org/