> > > On Mon, Mar 23, 2020 at 1:55 AM Floris Van Nee <florisvan...@optiver.com> > wrote: > > I'm unsure which version number to give this patch (to continue with > numbers from previous skip scan patches, or to start numbering from scratch > again). It's a rather big change, so one could argue it's mostly a separate > patch. I guess it mostly depends on how close the original versions were to > be committable. Thoughts? > > I don't know, but from the sidelines, it'd be nice to see the unique > path part go into PG13, where IIUC it can power the "useless unique > removal" patch. >
Actually I have a patch to remove the distinct clause some long time ago[1], and later it came to the UniqueKey as well, you can see [2] for the current status. [1] https://www.postgresql.org/message-id/flat/CAKU4AWqOORqW900O-%2BL4L2%2B0xknsEqpfcs9FF7SeiO9TmpeZOg%40mail.gmail.com#f5d97cc66b9cd330add2fbb004a4d107 [2] https://www.postgresql.org/message-id/flat/CAKU4AWrwZMAL=uafudmf4wgovkel3onbatqju9nsxtuucpp...@mail.gmail.com