Re: Privileges question

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Alexander James Spence [axs]" <axs(at)aber(dot)ac(dot)uk>, "'pgsql-admin(at)postgresql(dot)org'" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Privileges question
Date: 2011-10-18 21:03:46
Message-ID: 4E9DA36202000025000421E7@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Alexander James Spence [axs]" <axs(at)aber(dot)ac(dot)uk> wrote:

> If I wanted to set this as a default for all new databases and
> users how/where do I alter/create a schema other than public?

You could do the REVOKEs against the template1 database (or whatever
database you use for creating these if you don't take the default).
The rest would need to be scripted, so I would probably just leave
the template alone and cover the whole thing in my script.

-Kevin

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message ml ml 2011-10-20 11:08:53 Postgresql in Xen DomU
Previous Message Alexander James Spence [axs] 2011-10-18 17:18:19 Re: Privileges question