How to set default owner of objects in Postgresql

From: Ashif Shaikh <sashif0(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: How to set default owner of objects in Postgresql
Date: 2019-01-16 08:40:33
Message-ID: CAN+GtSaUxXkwFjrp8GyJdH+F8WgOAZqz0AtoFyQR+Lghy7aR-w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Dear Expert's,

I wanted to know whether it is possible to set default owner of any new
objects being created in Postgresql 9.6?

For eg: if user abc creates a table in database mydb then by default the
owner of the object should be xyz (non superuser).

Regards,
Ashif Shaikh

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Achilleas Mantzios 2019-01-16 08:52:52 Re: Backup solution over unreliable network
Previous Message Thomas Kellerer 2019-01-16 08:04:21 Re: create tablespaces and users