pg_authid has duplicated rows

From: Mariel Cherkassky <mariel(dot)cherkassky(at)gmail(dot)com>
To: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: pg_authid has duplicated rows
Date: 2018-07-23 18:03:32
Message-ID: CA+t6e1mVRqX_cN00Unk2zELX-ec4zTvtdJe0a0y5h0_UGpJKFQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi,
Today I faced a situation where I saw a postgresql 9.2 database that had
duplicated rows in pg_autid. I saw 6 roles while 3 of them were duplicated
(3 uniques rolenames in total). I checked and the oid of the duplicates
were the same oid as the originals. The solution was running vacuum on the
table but I wanted to understand how this situation was created ? Why even
with unique index on the rolname I saw duplicated values for rolname ?

Thanks , Mariel.

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Andres Freund 2018-07-23 20:26:45 Re: pg_authid has duplicated rows
Previous Message Michael Ireland 2018-07-23 18:02:15 RE: Moving the data directory for systemd service startup