From: Michael Neumann Date: 2002-06-03T18:58:46+09:00 Subject: Re: Question: Recommended Postgresql interface? On Mon, Jun 03, 2002 at 02:50:15PM +0900, Sean Russell wrote: > Jeremy Henty wrote: > > > Recent postings along the lines of "I am using ruby-postgres" tend to > > get "why not use Ruby/DBI" answers. So is Ruby/DBI the way to go? > > Well, AFAIK (I installed DBI a looong time ago), Ruby/DBI uses > ruby-postgresql. Again, I may be way off-base here, but I believe that DBI > is predominantly an API layer on top of other DB interfaces. In the case > of PostgreSQL, I believe that you'll find that if you try to install DBI > with access for PostgreSQL, you'll be required to install ruby-postgresql. Ruby/DBI is a layer on top of ruby-postgresql. Because of this, it's performance is not that good (I guess factor 2-3 compared to plain ruby-postgresql). But it's easier to use. Regards, Michael