Search Postgresql Archives

Re: Why grantor is owner in this case?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Tom,
 
Thanks for your information. One more question, if i wanna get the accurate information about grantor(Sometimes the application just needs the information), what can i do?
Apparently i cannot get from the acls, so where can i get the info?
 
-Dongni


"Tom Lane" <tgl@xxxxxxxxxxxxx> ???? news:4759.1261758025@xxxxxxxxxxxxxxxx
> "donniehan" <donniehan@xxxxxxx> writes:
>> I have a question about the grantor. Why the grantor is owner in the following case ?  I think it should be postgres(dba).
>
> Grants done by a superuser on an object he doesn't own are treated as
> being done by the object owner instead.  Otherwise you end up with
> grants that don't have a clear chain of traceability to the owner,
> which causes all sorts of un-fun issues for REVOKE.  (I'm too lazy
> to come up with the details right now, but if you care you can look
> back in the pgsql-hackers archives to find the discussions where this
> behavior was agreed on.)
>
> regards, tom lane
>
> --
> Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux