Distinct tightly coupled with Agg - Mailing list pgsql-novice

From Ankit Kumar Pandey
Subject Distinct tightly coupled with Agg
Date
Msg-id d83168fa-13e7-a570-5d56-87691deb1a40@gmail.com
Whole thread Raw
List pgsql-novice

Hello,

I am looking at todo item Implement DISTINCT clause in window aggregates and while looking at code, I found distinct tightly coupled with Agg function. Looking at another todo item Do we really need so much duplicated code between Agg and WindowAgg?  I was wondering what is general stance on this?

If Agg/WindowAgg gets harmonized, implementing distinct would be lot more intuitive. Should this be attempted first? If this is not necessary, I assume making distinct a standalone piece should be an option too?

Thanks,

Ankit

pgsql-novice by date:

Previous
From: Ankit Kumar Pandey
Date:
Subject: Re: Todo item: distinct clause - guidance
Next
From: Bzzzz
Date:
Subject: hstore or jsonb ?