Displaying 2 results from an estimated 2 matches for "async_query".
Did you mean:
sync_query
2007 Mar 05
3
postgres barfage revisted
...#39;'ve stumbled across the problem described here:
http://rubyforge.org/pipermail/backgroundrb-devel/2006-August/000299.html
wherein the native Ruby adaptor for Postgres causes Backgroundrb to
crap out with messages like this:
ActiveRecord::StatementInvalid: NoMethodError: undefined method
`async_query'' for #<PGconn:0x22ed648>:
The author''s suggested solutions were to either use the compiled
ruby-postgres, or set ActiveRecord::Base.allow_concurrency to false in
a start script.
Well, the first option seems tricky to me; I haven''t succeeded in
getting that compil...
2006 Aug 26
0
postgres-pr barfs at ActiveRecord::Base.allow_concurrency = true
...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:
http://rubyforge.org/projects/ruby-postgres/
Or alternatively you could set ActiveRecord::Ba...