On Wed, May 13, 2020 at 11:48 PM Andy Fan <zhihui.fan1...@gmail.com> wrote:
> >> My impression about the one row stuff, is that there is too much >> special casing around it. We should somehow structure the UniqueKey >> data so that one row unique keys come naturally rather than special >> cased. E.g every column in such a case is unique in the result so >> create as many UniqueKeys are the number of columns > > > This is the beginning state of the UniqueKey, later David suggested > this as an optimization[1], I buy-in the idea and later I found it mean > more than the original one [2], so I think onerow is needed actually. > > I just found I forget the links yesterday. Here is it. [1] https://www.postgresql.org/message-id/CAApHDvqg%2BmQyxJnCizE%3DqJcBL90L%3DoFXTFyiwWWEaUnzG7Uc5Q%40mail.gmail.com [2] https://www.postgresql.org/message-id/CAKU4AWrGrs0Vk5OrZmS1gbTA2ijDH18NHKnXZTPZNuupn%2B%2Bing%40mail.gmail.com