Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id E58329FB698 for ; Wed, 28 Feb 2007 08:05:47 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 93281-06 for ; Wed, 28 Feb 2007 08:05:41 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from floppy.pyrenet.fr (floppy.pyrenet.fr [194.116.145.2]) by postgresql.org (Postfix) with ESMTP id 712709FB52E for ; Wed, 28 Feb 2007 08:05:40 -0400 (AST) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id 23D5E3090A; Wed, 28 Feb 2007 13:05:39 +0100 (MET) From: "Chris Long" X-Newsgroups: comp.lang.ruby,pgsql.interfaces Subject: ruby-postgres for Ruby 1.9 Date: 28 Feb 2007 04:05:25 -0800 Organization: http://groups.google.com Lines: 20 Message-ID: <1172664325.709947.125810@p10g2000cwp.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Complaints-To: groups-abuse@google.com User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.2) Gecko/20060601 Firefox/2.0.0.2 (Ubuntu-edgy),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: p10g2000cwp.googlegroups.com; posting-host=68.101.159.149; posting-account=L8DzYA0AAADKMt9uWUjSqT6hQWwIE9RX To: pgsql-interfaces@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=BAYES_50 X-Spam-Level: X-Archive-Number: 200703/4 X-Sequence-Number: 6445 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.