rails/rails — pull request #3683 by christos (2011-11-18 17:31:56+00:00)
Title: Only used detailed schema introspection when doing a schema dump.

This fixes the slowdown every time the primary key is extracted from a table introduced by #3526 in order to fix #3440

Fixes #3678