[Fwd: [ANN] postgres-pr (pure Ruby PostgreSQL)]

Поиск
Список
Период
Сортировка
Искать

[Fwd: [ANN] postgres-pr (pure Ruby PostgreSQL)]

От:
Tom Copeland <tom@infoether.com>
Дата:
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 
> To: ruby-talk ML 
> 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 
InfoEther
FAQ