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:46:26 +0300
Message-ID: <001601d42b73$6e25a020$4a70e060$@1nar.com.tr> (raw)
In-Reply-To: <00a801d42b6a$6cb81c80$46285580$@1nar.com.tr>
References: <00a801d42b6a$6cb81c80$46285580$@1nar.com.tr>
> -----Original Message-----
> From: Ertan Küçükoðlu <ertan.kucukoglu@1nar.com.tr>
> Sent: Friday, August 3, 2018 11:42 PM
> To: pgsql-general@postgresql.org
> Subject: Eror while dropping a user
>
> Hello,
>
> Using PostgreSQL 9.6.9 on Linux amd64 platform.
>
> I have two users that I cannot drop from the system. I revoked all
permissions from tables, sequences, functions. They do not own any objects.
I found a table named "data" in postres database's public schema. Owner of
that table is postgres user. That table do not have any relation with these
users that I failed to drop. It is probably a mistakenly created test table.
After I drop that table, these users dropped without any error.
That is something weird to me. I am almost 100% sure that I did not give any
GRANT for these users out of "pars" database. Alessandro's provided scipt
did not return that table when I run it on postgres database and
postgres.public schema.
Anyway, I could clean up my users in the end.
Thanks & regards,
Ertan
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: <001601d42b73$6e25a020$4a70e060$@1nar.com.tr>
References: <00a801d42b6a$6cb81c80$46285580$@1nar.com.tr> <001601d42b73$6e25a020$4a70e060$@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