The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Pure Ruby PostgreSQL interface released

1 reply on 1 page. Most recent reply: Nov 18, 2004 11:29 AM by Tom Copeland

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Michael Neumann

Posts: 66
Nickname: backflash
Registered: May, 2003

Michael Neumann is fallen in Love with Ruby
Pure Ruby PostgreSQL interface released Posted: Nov 18, 2004 7:48 AM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Michael Neumann.
Original Post: Pure Ruby PostgreSQL interface released
Feed Title: Mike's Weblog
Feed URL: http://www.ntecs.de/blog-old/index.rss?cat=ruby&count=7
Feed Description: Blogging about Ruby and other interesting stuff.
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Michael Neumann
Latest Posts From Mike's Weblog

Advertisement
I'm proud to announce the first public "release" of postgres-pr. It 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"]]

Have fun!

Read: Pure Ruby PostgreSQL interface released


Tom Copeland

Posts: 486
Nickname: tcopeland
Registered: Nov, 2004

Re: Pure Ruby PostgreSQL interface released Posted: Nov 18, 2004 11:29 AM
Reply to this message Reply
Cool! I posted this over to the PostgreSQL advocacy list, too:

http://archives.postgresql.org/pgsql-advocacy/2004-11/msg00202.php

Yours,

Tom

Flat View: This topic has 1 reply on 1 page
Topic: Wee on HREF Considered Harmful Previous Topic   Next Topic Topic: Dependency Injection Revisited

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use