Re: pg_dumpall -r -c try to drop user postgres

2017-12-11 Thread Jeff Janes
On Tue, Dec 5, 2017 at 9:03 AM, Pavel Stehule wrote: > On Sun, Dec 3, 2017 at 3:21 PM, Pavel Stehule >> wrote: >> > I am not sure if user postgres should be removed, so it is probably bug >> > >> > pg_dumpall -r -c | grep postgres >> > >> > DROP ROLE postgres; >> > CREATE ROLE postgres; >> >> >

Re: pg_dumpall -r -c try to drop user postgres

2017-12-05 Thread Pavel Stehule
2017-12-03 23:48 GMT+01:00 Michael Paquier : > On Sun, Dec 3, 2017 at 3:21 PM, Pavel Stehule > wrote: > > I am not sure if user postgres should be removed, so it is probably bug > > > > pg_dumpall -r -c | grep postgres > > > > DROP ROLE postgres; > > CREATE ROLE postgres; > > You are looking for

Re: pg_dumpall -r -c try to drop user postgres

2017-12-03 Thread Michael Paquier
On Sun, Dec 3, 2017 at 3:21 PM, Pavel Stehule wrote: > I am not sure if user postgres should be removed, so it is probably bug > > pg_dumpall -r -c | grep postgres > > DROP ROLE postgres; > CREATE ROLE postgres; You are looking for this bit of code: /* * If asked