Bruce Momjian <maillist@candle.pha.pa.us> writes:
>> This is not done --- I wasn't willing to try to do such a thing by
>> myself when we were already in 6.5 beta. It's on my todo list for 6.6.
> On your list. Good. I can't possibly figure out how to describe this
> bug.
If you want a TODO entry try * INSERT ... SELECT ... GROUP BY groups by target columns not source columns
There are other failure modes associated with this bug but that one will
do for the list.
regards, tom lane