Fwd: Need efficient way to remove (almost) duplicate rows from a table

From: Michael Nolan <htfoot(at)gmail(dot)com>
To: "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Fwd: Need efficient way to remove (almost) duplicate rows from a table
Date: 2023-10-18 01:52:01
Message-ID: CAOzAquLccUsMTnrVFuXXw_xTdJN7pEtBu-_S8jn5-etpwj75mQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I'm not clear which rows are duplicates.

It looks like limb_id, branch_id and twig_id make up a unique key.

If there was a row (2, 2, 7,103.7) would it be a duplicate of rows
(1,1,2,103.7) and (1,1,3,103.7)?
--
MIke Nolan

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Hafeez Rahim 2023-10-18 03:17:06 Re: Index based search have issues with 11.20
Previous Message Merlin Moncure 2023-10-18 01:20:04 Re: Inheritance in PostgreSQL