pg_authid has duplicated rows - Mailing list pgsql-admin

From Mariel Cherkassky
Subject pg_authid has duplicated rows
Date
Msg-id CA+t6e1mVRqX_cN00Unk2zELX-ec4zTvtdJe0a0y5h0_UGpJKFQ@mail.gmail.com
Whole thread Raw
Responses Re: pg_authid has duplicated rows  (Andres Freund <andres@anarazel.de>)
List 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.

pgsql-admin by date:

Previous
From: Michael Ireland
Date:
Subject: RE: Moving the data directory for systemd service startup
Next
From: Andres Freund
Date:
Subject: Re: pg_authid has duplicated rows