PostgreSQL search_path and db:structure:dump rake task

Hello!

I've submitted a patch to work around a problem when multiple schemas are included in the search_path in database.yml for PostgreSQL databases. (Long story short: the pg_dump --schema flag only accepts a single schema.)

http://dev.rubyonrails.org/ticket/6665

While I've tested the regex pattern used to check for multiple schemas, I'm unsure of how to properly write tests to be included in the standard Rails test suite. Any advice would be appreciated :slight_smile:

Thanks!

Michael Glaesemann
grzm seespotcode net