Re: Proposal: array_unique_agg() function

2022-03-01 Thread Aleksander Alekseev
Pavel, Sergei, > SELECT array_agg(DISTINCT ...) doesn't help? It works, many thanks! -- Best regards, Aleksander Alekseev

Re: Proposal: array_unique_agg() function

2022-03-01 Thread Pavel Stehule
Hi Ășt 1. 3. 2022 v 14:39 odesĂ­latel Aleksander Alekseev < aleksan...@timescale.com> napsal: > Hi hackers, > > I needed an aggregate function similar to array_agg() but which > aggregates only unique values. As it turned out there is no convenient > way of doing this. What I ended up doing instead