Tom Copeland's Recent Posts

RSS Feeds

« JavaCC license changed to BSD! | Main | PMD 3.9: Three times faster! »

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00d83451d3c069e200e55070a5b58834

Listed below are links to weblogs that reference RubyForge on PostgreSQL 8.2:

» RubyForge on PostgreSQL 8.2 from PsychicProgrammer.com
I've upgraded RubyForge to PostgreSQL 8.2. A couple of notes: The database is at about 18 million records It took around 6 minutes to dump and 8 minutes to restore. The dump/restore resulted in the disk space for the data...Link:... [Read More]

Comments

What Pg did you upgrade from?

Hi Eric - upgraded from PostgreSQL 8.1.5.

What hardware are you running?

David - Complete hardware details are here:
http://rubyforge.org/docman/view.php/5/11/rubyforge_site_status.html
It's just a single box, dual CPUs, etc.

How did you install 8.2 and get db:migrate to work. I have been trying to no avail. I put postgres 8.2 in the /usr/local/pgsql directory. Any ideas?

Don - RubyForge isn't a Rails app; it's running GForge (gforge.org). I am running other Rails apps on PostgreSQL 8.2 with no problems, though...

Tom - I can't get it to work with Rails either, throws the error 'uninitialized constant ActiveRecord::Base::PGconn'

What version of Rails, what ruby postgres binding are you using?

Hi David - RubyForge is actually a PHP app - http://gforge.org/. But I'm using Rails 1.1.6 with PostgreSQL 8.2 and the native PostgreSQL bindings (version 0.7.1) on http://getindi.com/. Maybe it's your database.yml file; are you using "adapter: postgresql"? Also, did postgres.so build properly when you installed the postgres gem?

For the record, turns out that the problem was with the postgres gem. It wasn't installing postgres.so, even though installation was reported as successful. I download the source code and installed from it.

Works fine - now I can go looking for those big Postgres 8.2 performance improvements ;-)

I presume the gem problem is something to do with the Fedora Core postgres library locations, but I'm not left with a lot of respect for the postgres gem.

Hi David - Yup, I've had to do the same thing... cd into the postgres gem directory and do a manual make. Weird. But yup, PostgreSQL 8.2 is an excellent piece of work... very snappy.

The comments to this entry are closed.