empty role names in pg_dumpall output

Поиск
Список
Период
Сортировка
От Filip Rembiałkowski
Тема empty role names in pg_dumpall output
Дата
Msg-id CAP_rwwk1TtgQrETVkgYxKiKDry+Ld4S=rM69dOdpDiZVAAQ6wg@mail.gmail.com
обсуждение исходный текст
Ответы Re: empty role names in pg_dumpall output
Список pgsql-general
Hi,

PostgreSQL 9.0.4

I have this in pg_dumpall -g output (non-empty role names changed):

GRANT "" TO a  GRANTED BY postgres;
GRANT "" TO b GRANTED BY c;
GRANT "" TO b GRANTED BY c;
GRANT "" TO b GRANTED BY c;
GRANT "" TO b GRANTED BY c;
GRANT "" TO "" GRANTED BY c;
GRANT "" TO "" GRANTED BY postgres;
GRANT "" TO "" GRANTED BY postgres;

There is no CREATE ROLE "" ... in the output.

select * from pg_authid where length(rolname)<1 -- returns no rows

I would like to get rid of these roles, but how?

I appreciate any hints / ideas.

В списке pgsql-general по дате отправления:

Предыдущее
От: Rich Shepard
Дата:
Сообщение: Re: Formatting time for INSERT INTO
Следующее
От: Janne H
Дата:
Сообщение: How can I see if my code is "concurrency safe"?