Re: pg_dumpall problem - duplicated users
От | Bartek GRUbY |
---|---|
Тема | Re: pg_dumpall problem - duplicated users |
Дата | |
Msg-id | 20050901134207.7274CD88A0@svr1.postgresql.org обсуждение исходный текст |
Ответ на | pg_dumpall problem - duplicated users (Przemysław Nogaj <pn@tey.pl>) |
Ответы |
Re: pg_dumpall problem - duplicated users
|
Список | pgsql-admin |
Hi, i have similar problem - can't make dumps of any db with the same error message (and all applications using this pg serverworks fine) . But in my case, i think, only user 'postgres' is duplicated: template1=> select * from pg_catalog.pg_shadow where usename = 'postgres'; usename | usesysid | usecreatedb | usesuper | usecatupd | passwd | valuntil | useconfig ----------+----------+-------------+----------+-----------+-------------------------------------+----------+----------- postgres | 1 | t | t | t | | | postgres | 1 | t | t | t | md5c084502ed11efa9d3d96d29717a5e555 | | (2 rows) template1=> select * from pg_namespace ; nspname | nspowner | nspacl ------------+----------+-------- pg_catalog | 1 | {=U} pg_toast | 1 | {=} public | 1 | {=UC} pg_temp_1 | 1 | (4 rows) And every change i made to user postgres has effect to the one with passwd set. I can delete only him too. Someone can help?Im running out of time so every advice will be appreciated. Maybe someone know how to delete whole pg_shadow table andcreate users on db with no users at all (cause pg_shadow will be empty :). Thanks for any (and quick :) help, greetings, Bartek
В списке pgsql-admin по дате отправления: