# Ruby-postgres for Ruby 1.9

**URL:** <https://www.ruby-forum.com/t/ruby-postgres-for-ruby-1-9/87137>\
**Category:** Ruby\
**Created:** [February 28, 2007, 1:11pm UTC](https://www.ruby-forum.com/t/ruby-postgres-for-ruby-1-9/87137 "2007-02-28T13:11:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chris\_Long](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/50afbb/32.png) [@Chris\_Long](https://www.ruby-forum.com/u/Chris_Long)\
**Post date:** [February 28, 2007, 1:11pm UTC](https://www.ruby-forum.com/t/ruby-postgres-for-ruby-1-9/87137/1 "2007-02-28T13:11:07Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Chris\_Long](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/50afbb/32.png) [@Chris\_Long](https://www.ruby-forum.com/u/Chris_Long)\
**Post date:** [February 28, 2007, 7:16pm UTC](https://www.ruby-forum.com/t/ruby-postgres-for-ruby-1-9/87137/2 "2007-02-28T19:16:42Z")

</div>

On Wed, 2007-02-28 at 21:10 +0900, Chris Long wrote:

> pointer for rw pipes has been deprecated. In my defense it compiles  
> and runs.
> 
> ## Who’s the current maintainer of ruby-postgres?

Dave L. is the current maintainer, removed\_email\_address@domain.invalid, 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 D.

PS: He has another email address also, but I don’t want to post that on  
a public list for obvious reasons.
