Forum: Ruby on Rails PostgreSQL 8.2 and Rails/Ruby?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Hunter H. (Guest)
on 2006-12-27 02:41
(Received via mailing list)
Howdy,

Have any of the PostgreSQL users here upgraded to 8.2 and used it
with Rails apps?

So far my tests show that it seems to work just fine but I thought I
would ask before moving closer to deploying it in production.

Cheers,
Hunter
unknown (Guest)
on 2006-12-31 08:45
(Received via mailing list)
I've been unable to get Postgres 8.2 working. Fedora Core 4, Rails
1.1.6, ruby 1.8.4, ruby-postgres gem. I get the error uninitialized
constant: PGConn

Don't know if this is a Rails problem or the ruby-postgres bindings.
Kevin C (Guest)
on 2006-12-31 11:46
(Received via mailing list)
I think it's ruby-postgres issue.  Run backend in 8.2 but stay with
8.1.x as
client library.


On 12/30/06, removed_email_address@domain.invalid 
<removed_email_address@domain.invalid> wrote:
>
>
> I've been unable to get Postgres 8.2 working. Fedora Core 4, Rails
> 1.1.6, ruby 1.8.4, ruby-postgres gem. I get the error uninitialized
> constant: PGConn
>
> Don't know if this is a Rails problem or the ruby-postgres bindings.
>
>
--
Kevin Chen
http://www.realmatic.com
Don Guernsey (Guest)
on 2007-01-08 21:28
Hunter H. wrote:
> Howdy,
>
> Have any of the PostgreSQL users here upgraded to 8.2 and used it
> with Rails apps?
>
> So far my tests show that it seems to work just fine but I thought I
> would ask before moving closer to deploying it in production.
>
> Cheers,
> Hunter

8.2 will not work with the current postgres ruby driver. Whoever is
maintaining the gem has to update the gem to look for libpq.5.dylib
instead of libpq.4.dylib. I am not sure that is the only error or need
but that's the error I get when I researched the problem.
Just S. (Guest)
on 2007-01-09 01:50
(Received via mailing list)
Are you using the pure ruby driver or the C based one?

The C based one just link against libpq.so. So it should work against
8.2 as well as earlier versions. If it doesn't, a recompile of the
native extension should take care of it.

As for the pure-ruby one, I can't comment on it as I don't use it. The
native one works perfectly for me. I even added to it proper support
for LISTEN/NOTIFY that let you listen on notification without using
any CPU while waiting [1].

Guy.

[1]
http://devblog.famundo.com/articles/2006/12/07/imp...

On 12/30/06, removed_email_address@domain.invalid 
<removed_email_address@domain.invalid> wrote:
>
> I've been unable to get Postgres 8.2 working. Fedora Core 4, Rails
> 1.1.6, ruby 1.8.4, ruby-postgres gem. I get the error uninitialized
> constant: PGConn
>
> Don't know if this is a Rails problem or the ruby-postgres bindings.
>
>
> >
>


--
Family management on rails: http://www.famundo.com
My development related blog: http://devblog.famundo.com
This topic is locked and can not be replied to.