PostgreSQL search_path and db:structure:dump rake task


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.)

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:


Michael Glaesemann
grzm seespotcode net