Search Postgresql Archives

Re: Best way to list a role’s owned objects?

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

 



On 7/1/14 1:13 PM, John R Pierce wrote:
On 7/1/2014 11:08 AM, Felipe Gasper wrote:
    What is the best way to list a role’s owned objects in any database?

query pg_class in each database ?


Every database on the cluster, individually, then? Is there no way to query all databases at once?

I mean, *something* under the hood must be doing this because DROP ROLE bugs out if the role owns anything in any DB.

-F



[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