[Backgroundrb-devel] postgres-pr barfs at ActiveRecord::Base.allow_concurrency = true

Tim Trautmann lists at foorama.com
Fri Aug 25 23:13:08 EDT 2006

Hi List,
     first of thank you Ezra for BackgroundRB. Very cool plugin indeed!

This is a public service FYI. In case you are running postgres as  
your database backend  and you are seeing the following errors in  
your backgroundrb.log:

ActiveRecord::StatementInvalid: NoMethodError: undefined method  
`async_query' for #<PGconn:0x22ed648>:

You are using the postgres-pr adapter which does not seem to support  
async_query. You need to install the compiled postgres db adapter  
wich can be found here:


Or alternatively you could set ActiveRecord::Base.allow_concurrency  
to "false" in your backgroundrb start script. Though this could have  
adverse side effects.

Thought this might be helpful to others in the future.



More information about the Backgroundrb-devel mailing list