Re: [BUGS] BUG #14540: REASSIGN OWNED cannot reassign from a USER toa ROLE - Mailing list pgsql-bugs

From Alvaro Herrera
Subject Re: [BUGS] BUG #14540: REASSIGN OWNED cannot reassign from a USER toa ROLE
Date
Msg-id 20170210164054.vcxz3c3pp52kxv2g@alvherre.pgsql
Whole thread Raw
In response to [BUGS] BUG #14540: REASSIGN OWNED cannot reassign from a USER to a ROLE  (opldupuy@gmail.com)
List pgsql-bugs
opldupuy@gmail.com wrote:

> I highly suggest extending REASSIGN OWNED to:
> - reassign USER resources to ROLE first (current user has to be in the
> target role as now)
> - reassign USER resources to USER next

In Postgres, "users" are just roles.  There is no distinction.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

pgsql-bugs by date:

Previous
From: Cliff Inbau
Date:
Subject: Re: [BUGS] BUG #14536: Centos 7 gdal-libs Dependency Problem
Next
From: Devrim Gündüz
Date:
Subject: Re: [BUGS] BUG #14536: Centos 7 gdal-libs Dependency Problem