I'm using postgres 9.6. I have database with owner of postgres role. I need another user that would be the administrator on this database. This user can do anything like dml or ddl queries. Also I'm using entity framework code first and new schemas and objects in it would be arrised in my database in future. So how can I create this role?
I see documentation of postgres security and I don't understand why that simple thing is to difficult to implement.
I need to alter database owner or grant all in all tables, ok (but new objects could be created either by my user or by postgres). There is "Alter default privileges" command but it used only for specific schema(not all) So how can i implement this scenario?