sequelize/sequelize — pull request #630 by Obbedire (2013-05-18 16:38:38+00:00)
Title: Issue #629: Attribute ambiguity issue when eagerly loading.

I updated the postgres QueryGenerator to prepend table names to attributes in the where clause when doing a "select". This fixes the attribute ambiguity issue that you get when eager loading.
I followed the same pattern the MySQL QueryGenerator does to prepend the table name.

(I also removed to unneeded commas in the same file.)