Rake test - functionals! fail

Tom Hughes tom at compton.nu
Mon Oct 22 07:42:36 GMT 2012


On 22/10/12 06:02, Jeff Meyer wrote:

> Fixed! Function needed to be created in openstreetmap and osm. Creating
> it in public won't work, esp not after those databases had been created....

No, you're confusing schemas and databases ;-)

When you sudoed to postgres and ran psql with no database name specified 
you were connected to the "postgres" database so that was the database 
you added the functions to when you should have been adding them to the 
"openstreetmap" database.

Both those databases have a "public" schema and, unless you've done 
something odd, that will be the default schema, but the each database 
has it's own set of schemas - they aren't shared.

Tom

-- 
Tom Hughes (tom at compton.nu)
http://compton.nu/



More information about the rails-dev mailing list