Revert "Include name in the group by to allow the field to be sorted"

This reverts commit c7448ab4cfd38c790e5fd0652e225d217e754edd.

Per #276 and #282, in PostgreSQL 8.4 you cannot SELECT columns not mentioned in a GROUP BY unless they are used in an aggregate function. In PostgreSQL 9.0 and above, you may have ungrouped columns in the SELECT clause if the GROUP BY is a unique column.

MySQL has supported this behavior for a long time. It goes one step further, and doesn't even require that the GROUP BY be unique, MySQL will just grab any old row nondeterministically. This is very convenient and supremely frightening ;)

The query in question requires the unique-row GROUP BY behavior, or the query has to be greatly restructured. The interest for supporting this is to use the stock Pg 8.4 in RHEL 6.

At this time I cannot provide support for Pg < 9.0.