pg_authid has duplicated rows

Поиск
Список
Период
Сортировка
От Mariel Cherkassky
Тема pg_authid has duplicated rows
Дата
Msg-id CA+t6e1mVRqX_cN00Unk2zELX-ec4zTvtdJe0a0y5h0_UGpJKFQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: pg_authid has duplicated rows
Список 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 по дате отправления:

Предыдущее
От: Michael Ireland
Дата:
Сообщение: RE: Moving the data directory for systemd service startup
Следующее
От: Andres Freund
Дата:
Сообщение: Re: pg_authid has duplicated rows