pg.ddx.io pgsql-interfaces@postgresql.org mailing list archive
help / color / mirror / Atom feedruby-postgres for Ruby 1.9
2+ messages / 2 participants
[nested] [flat]
* ruby-postgres for Ruby 1.9
@ 2007-02-28 12:05 Chris Long <galizur@gmail.com>
0 siblings, 1 reply; 2+ messages in thread
From: Chris Long @ 2007-02-28 12:05 UTC (permalink / raw)
To: 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.
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: ruby-postgres for Ruby 1.9
@ 2007-03-01 21:32 Jeff Davis <pgsql@j-davis.com>
parent: Chris Long <galizur@gmail.com>
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Davis @ 2007-03-01 21:32 UTC (permalink / raw)
To: Chris Long <galizur@gmail.com>; +Cc: pgsql-interfaces
On Wed, 2007-02-28 at 04:05 -0800, Chris Long wrote:
> 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?
[I see that this is a cross post with ruby-talk, so I'm pasting my
answer here also]
Dave Lee is the current maintainer, dave@cherryville.org, and I have
quite a few fixes that I'd like applied as well. He's been busy for the
past few months, so I haven't had much luck getting the fixes in. He's
supposed to be giving me read access to the repository so I can at least
see what he's committing to it, but I've been waiting on that for a
while, too.
Overall, the module needs a substantial amount of work (it's still using
deprecated API functions, for instance).
Regards,
Jeff Davis
PS: He has another email address also, but I don't want to post that on
a public list because I haven't seen it in other public lists/sites.
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2007-03-01 21:32 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-02-28 12:05 ruby-postgres for Ruby 1.9 Chris Long <galizur@gmail.com>
2007-03-01 21:32 ` Jeff Davis <pgsql@j-davis.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox