Re: Bug, Feature, or what else? - Mailing list pgsql-general

From Andreas Kretschmer
Subject Re: Bug, Feature, or what else?
Date
Msg-id 609013460.25018.1360337038276.JavaMail.open-xchange@ox.ims-firmen.de
Whole thread Raw
In response to Re: Bug, Feature, or what else?  (Adrian Klaver <adrian.klaver@gmail.com>)
Responses Re: Bug, Feature, or what else?
Re: Bug, Feature, or what else?
Re: Bug, Feature, or what else?
List pgsql-general
Adrian Klaver <adrian.klaver@gmail.com> hat am 8. Februar 2013 um 16:19
geschrieben:
> On 02/08/2013 06:58 AM, Andreas Kretschmer wrote:
> >
> >>> How can i drop a user as SUPERUSER (!) with all privileges?
> >>
> >> I believe you will need to REVOKE ALL ON SCHEMA public FROM ak02.
> >
> >
> > doesn't help:
> >
> > -bash-4.1$ psql -U postgres db115150
> > psql (9.1.8)
> > Type "help" for help.
> >
> > db115150=3D# begin;
> > BEGIN
> > db115150=3D# revoke all on schema public from ak02;
> > REVOKE
> > db115150=3D# drop user ak02;
> > FEHLER:  kann Rolle =C2=BBak02=C2=AB nicht l=C3=B6schen, weil andere Ob=
jekte davon abh=C3=A4ngen
> > DETAIL:  Privilegien f=C3=BCr Schema public
> > db115150=3D#
> >
> >
>
> So what does \dn+ public show?

db115150=3D# \dn+ public
                             List of schemas
  Name  |  Owner   |      Access privileges      |      Description
--------+----------+-----------------------------+------------------------
 public | postgres | postgres=3DUC/postgres       +| standard public schema
        |          | akretschmer01=3DU*C*/postgres+|
        |          | ak02=3DUC/akretschmer01       |
(1 row)

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Bug, Feature, or what else?
Next
From: Kevin Grittner
Date:
Subject: Re: Visual query builder for PosgreSQL?