pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ertan Küçükoğlu <ertan.kucukoglu@1nar.com.tr>
To: pgsql-general@postgresql.org
Subject: RE: Eror while dropping a user
Date: Sat, 4 Aug 2018 00:33:12 +0300
Message-ID: <001201d42b71$951cabd0$bf560370$@1nar.com.tr> (raw)
In-Reply-To: <CAM9F+O3TbdWUzVcp69imx3NG-ypnSrDc8fHrTDG6E6WZx6xUgg@mail.gmail.com>
References: <00a801d42b6a$6cb81c80$46285580$@1nar.com.tr>
	<CAM9F+O3TbdWUzVcp69imx3NG-ypnSrDc8fHrTDG6E6WZx6xUgg@mail.gmail.com>

> From: Alessandro Aste <alessandro.aste@gmail.com> 
> Sent: Saturday, August 4, 2018 12:02 AM
> To: Ertan Küçükoğlu <ertan.kucukoglu@1nar.com.tr>
> Cc: pgsql-general@postgresql.org
> Subject: Re: Eror while dropping a user
>
> You can run this query to itendify the relations owned by the users you're not allowed to drop, 
> just replace     ('<your_user_name_to_check>', 'username2' ..'userN' ) with the your role names . 
> Then, once you have identified the tables/objecst   change the owner like this: 

I tried to run it on "postgres" database and "pars" database, schemas on pars database, etc. All return empty results.

Thanks anyway.

Regards,
Ertan





view thread (5+ messages)  latest in thread

Message-ID: <001201d42b71$951cabd0$bf560370$@1nar.com.tr>
Permalink:  ../001201d42b71$951cabd0$bf560370$@1nar.com.tr/
Also on:    postgresql.org/message-id/001201d42b71$951cabd0$bf560370$@1nar.com.tr

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: ertan.kucukoglu@1nar.com.tr
  Subject: Re: Eror while dropping a user
  In-Reply-To: <001201d42b71$951cabd0$bf560370$@1nar.com.tr>
  References: <00a801d42b6a$6cb81c80$46285580$@1nar.com.tr> <CAM9F+O3TbdWUzVcp69imx3NG-ypnSrDc8fHrTDG6E6WZx6xUgg@mail.gmail.com> <001201d42b71$951cabd0$bf560370$@1nar.com.tr>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox