> On Sep 6, 2017, at 8:23 PM, Jeff Frost <jeff(at)pgexperts(dot)com> wrote:
>
>
> Any idea on how to identify affected rows on a running system?
I guess better questions would be:
Is it as simple as:
SELECT id, count(*) FROM foo GROUP BY id HAVING count(*) > 1;
Maybe also need to:
set enable_indexscan = 0;
set enable_indexonlyscan = 0;
before running the SELECT?
Is it possible to affect a DELETE or does it need to be a HOT updated row?