Search Postgresql Archives

Re: changing the permission of _lots_ of tables

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

 



Roderick A. Anderson wrote:
Works great ... up to a point. I now need to change the users and owners associated with all the tables without changing their permissions.

Is there a way or hack to do mass changes like these.

Write a small plpgsql function to take a pattern and set permissions based on that. A quick bit of googling should find some examples for you.

--
  Richard Huxton
  Archonet Ltd


[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