doctrine/dbal — pull request #232 by ajgarlag (2012-11-22 09:44:45+00:00)
Title: Problem with sequence names, PostgreSQL and MixedCased schemas

I''m having problems with a doctrine migration in a pgsql database that has a mixed case schema name.

After some investigation I've found the origin of the problem: when the schema manager is going to list sequences it executes a SQL statement to find the minimun sequence value.

This SQL statement is not quoting the sequence name, so the SQL fails with mixed cased schemas.

This trivial commit resolves this problem. I think it could be backported to stable versions of DBAL.