| From: | "Chris Long" <galizur(at)gmail(dot)com> |
|---|---|
| To: | pgsql-interfaces(at)postgresql(dot)org |
| Subject: | ruby-postgres for Ruby 1.9 |
| Date: | 2007-02-28 12:05:25 |
| Message-ID: | 1172664325.709947.125810@p10g2000cwp.googlegroups.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-interfaces |
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.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Peter K. Stys | 2007-02-28 21:47:08 | libpq.a and Xcode on Mac OS X |
| Previous Message | Andy Shellam (Mailing Lists) | 2007-02-27 15:57:09 | Re: where postgres 8.1.8 log messages go |