empty role names in pg_dumpall output - Mailing list pgsql-general

From Filip Rembiałkowski
Subject empty role names in pg_dumpall output
Date
Msg-id CAP_rwwk1TtgQrETVkgYxKiKDry+Ld4S=rM69dOdpDiZVAAQ6wg@mail.gmail.com
Whole thread Raw
Responses Re: empty role names in pg_dumpall output  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Rich Shepard
Date:
Subject: Re: Formatting time for INSERT INTO
Next
From: Janne H
Date:
Subject: How can I see if my code is "concurrency safe"?