[Fwd: [ANN] postgres-pr (pure Ruby PostgreSQL)] - Mailing list pgsql-advocacy

From Tom Copeland
Subject [Fwd: [ANN] postgres-pr (pure Ruby PostgreSQL)]
Date
Msg-id 1100799064.13678.73.camel@hal
Whole thread Raw
List pgsql-advocacy
Support for PostgreSQL in the Ruby community continues to grow... good
times!

http://rubyforge.org/forum/forum.php?forum_id=1946

Yours,

Tom

-----Forwarded Message-----
> From: Michael Neumann <mneumann@ntecs.de>
> To: ruby-talk ML <ruby-talk@ruby-lang.org>
> Subject: [ANN] postgres-pr (pure Ruby PostgreSQL)
> Date: Fri, 19 Nov 2004 00:12:28 +0900
>
> 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
>
--
Tom Copeland <tom@infoether.com>
InfoEther

pgsql-advocacy by date:

Previous
From: Robert Treat
Date:
Subject: Using Java for Replication :-)
Next
From: Josh Berkus
Date:
Subject: Re: "At a Glance" translation to de and it