Re: "Access privileges" is missing after pg_dumpall

2018-07-04 Thread Tom Lane
Prabhat Sahu writes: > I have taken pg_dumpall in pg-master and after restoring the dump I am not > able to see the "Access privileges" as below: > Same is reproducible in back branches as well, is this fine ? Yes, it is, because the privileges are the same in both states. In one case you have a

Re: "Access privileges" is missing after pg_dumpall

2018-06-26 Thread Jeevan Ladhe
Seems this is a known issue and the reason I understand is that the users/roles may already exist but may have a different meaning, I see it has been discussed[1] in past and I also see there is a wiki[2] page called "Pg dump improvements". [1]https://www.postgresql.org/message-id/flat/5280E2AE.80

"Access privileges" is missing after pg_dumpall

2018-06-25 Thread Prabhat Sahu
Hi, I have taken pg_dumpall in pg-master and after restoring the dump I am not able to see the "Access privileges" as below: Same is reproducible in back branches as well, is this fine ? CREATE ROLE user1 PASSWORD 'user1' SUPERUSER LOGIN; CREATE DATABASE db1 OWNER=user1; GRANT ALL ON DATABASE db