DBI, native extensions, etcetera.

Discussion in 'Ruby' started by Peter Seebach, May 1, 2007.

  1. I want to do some databasey stuff. DBI/DBD looks to be unmaintained
    (or at least, has a large and apparently untouched bug list). The native
    ruby-postgresql driver I found, while it does work, is massively
    underdocumented, or at least, I couldn't find anything telling me what
    the difference between 'quote' and 'escape' was, and some web pages
    suggest that the API used is obsolescent anyway.

    Assuming that I want to use postgresql with Ruby, what should I use?

    Perhaps more importantly, if I wanted to contribute documentation or
    code fixes, is there an interface around that would be interested in
    feedback?

    I would, for the record, very much like to get the actual text of error
    messages back, not just an abstraction. The postgresql driver I'm
    using right now (it has a PGconn class, if that's any use) does this,
    but it looks a little undermantained.

    -s
    Peter Seebach, May 1, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    0
    Views:
    303
  2. Jonathan Métillon
    Replies:
    1
    Views:
    121
    Jonathan Métillon
    Nov 11, 2006
  3. Vaggelis Typaldos

    ffi-0.3.2 # Fails to build native extensions

    Vaggelis Typaldos, Mar 28, 2009, in forum: Ruby
    Replies:
    1
    Views:
    106
    Andrea Fazzi
    Mar 28, 2009
  4. Nikita Vasilyev

    Can't install gems with native extensions

    Nikita Vasilyev, Mar 11, 2010, in forum: Ruby
    Replies:
    4
    Views:
    147
    Matt W.
    Apr 20, 2010
  5. Indigo Casson

    "Statically linking" native extensions.

    Indigo Casson, May 26, 2010, in forum: Ruby
    Replies:
    0
    Views:
    86
    Indigo Casson
    May 26, 2010
Loading...

Share This Page