How to create account on PostgreSQL Database with fully permissions like "posgres" account?


I need create the User Privileges in PostgreSQL Databases like account “postgres” with fully user permissions (Superuser, Create role, Create DB, Replicate, Bypass RLS). Because, the system can’t accept create account “postgres”. Please, help me how to do that.

Regards and thanks,



Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

I install the Fusionpbx with external PostgreSQL (in this case external db using Cloud SQL of DigitalOcean), please see in line numbers 81,82 in file below ( will adding options - h z.z.z.z when execute):

It require superuser role. I don’t have knowledge about PostgreSQL administration, do you have any ideas for resolve this problem? Thanks,

I don’t believe that you could create a user with the same privileges as in order to do that you need super privileges. Is there a particular reason why you don’t just use the default one?