On Mon, Apr 7, 2008 at 10:31 PM, Joerg Jaspert <[EMAIL PROTECTED]> wrote: > > Description : PostgreSQL interface for Ruby > > ruby-pg module allows Ruby programs to interface with the PostgreSQL > > database engine. It supports the functions defined in libpq library. > Whats so wrong with libpgsql-ruby? Sounds like it is the same?
ruby-pg is a fork of libpgsql-ruby (upstream name ruby-postgres), it is more actively maintained, but not fully backwards-compatible. I have no idea how many people use either of them directly, I only use it via Ruby/DBI (packaged as libdbi-ruby). In new Ruby/DBI 0.2.0, upstream switched from ruby-postgres to ruby-pg, which means that now we need it, and also probably means that it is mature enough to serve as a replacement. Both variants are similar enough for me to shamelessly borrow Aurélien's packaging, but since they are not fully compatible, I'm afraid we'll have to keep both for some time, to allow people to migrate over. Aurélien, what is your impression ruby-postgres upstream? According to RubyForge, it appears to be dead since about 2 years ago... If it truly is so, probably we should change description of libpgsql-ruby to recommend ruby-pg? -- Dmitry Borodaenko