Thanks.
Yeah, can somebody please commit this. Without it using PostgreSQL 8.2
is really painfull.
Jonathan
--
Jonathan Weiss
http://blog.innerewut.de
Rails continuous build at
http://cruisecontrolrb.thoughtworks.com/builds/RubyOnRails runs
ActiveRecord unit tests with Postgres 8.2.3, among other things. And
it usually passes. Which directly contradicts your above statement.
So I wonder if it points to some error or omission in my build setup.
Can you, please, clarify the problem?
Your friendly build monkey,
Alex Verkhovsky
So I wonder if it points to some error or omission in my build setup.
Can you, please, clarify the problem?
I'm running Ubuntu Linux 7.04 (Feisty) with PostgreSQL 8.2.4. I
checked out Rails edge (unmodified) from SVN. When I run 'rake
test_postgresql' in the activerecord directory, I get a ton of errors.
You can read them at:
http://izumi.plan99.net/ruby-postgresql-errors.txt
They're mostly related to string escaping. Because of these problems I
cannot use binary columns in Ruby on Rails project, which uses
PostgreSQL.
All the bitching about string escaping is at the warning level,
corresponding tests actually pass.
Errors all stem from this:
ERROR: permission denied to create role: CREATE ROLE rails_pg_schema_user1
--
Alex Verkhovsky
When I run 'rake
test_postgresql' in the activerecord directory, I get a ton of errors.
Errors all stem from this:
ERROR: permission denied to create role: CREATE ROLE rails_pg_schema_user1
Hm, you are correct. After fixing the permissions the unit tests pass,
though they still give the string warnings.
Thanks.
You need to give it *all* privileges, including superuser.