Going down the rabbit hole of Postgres 18 features

(xata.io)

55 points | by tudorg 2 days ago ago

5 comments

  • tpxl a day ago ago

    I think the author may have misunderstood the redundant GROUP BY columns with UNIQUE indexes. If you group by columns (A, B, C) and there is a UNIQUE index on (A, B), you can remove C (all parts not in the unique key), as there will only ever be at most one value of C due to the unique key constraint.

  • rixed 2 days ago ago

    Interesting and comprehensive article.

    Note to the author : on mobile, none of the examples are visible.

    • sierra1011 2 days ago ago

      Works for me on Brave, Android 15.

      • rixed a day ago ago

        I was using Firefox on IOS.

        • tudorg a day ago ago

          Thanks for the report!