Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

ruby-postgres for Ruby 1.9



It looks like ruby-postgres needs some patching due to the changes
in rubyio.h.  I believe these two changes take care of the problem:

    /*    PQtrace(get_pgconn(obj), fp->f2?fp->f2:fp->f); */
    PQtrace(get_pgconn(obj), fp->stdio_file);

    /*    PQprint(fp->f2?fp->f2:fp->f, get_pgresult(obj), &po);*/
    PQprint(fp->stdio_file, get_pgresult(obj), &po);

I'm using the force a bit here, and assuming that the additional
pointer for rw pipes has been deprecated.   In my defense it compiles
and runs.

Who's the current maintainer of ruby-postgres?
--
Chris Long, San Diego Padres, 100 Park Boulevard, San Diego CA

It is pitch black.  You are likely to be eaten by a grue.




Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group