rails/rails — pull request #4132 by Juanmcuello (2011-12-22 15:42:11+00:00)
Title: Reset postgreSQL search path in db:test:clone_structure.

This patch resets the postgres search path in the structure.sql after
the structure is dumped in order to find schema_migrations table when
multiples schemas are used.

Fixes #945

See also #1094. It was marked as merged (and closed) by github when in fact it wasn't.