pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: Alexander James Spence [axs] <axs@aber.ac.uk>
To: 'pgsql-admin@postgresql.org' <pgsql-admin@postgresql.org>
Subject: Re: Privileges question
Date: Tue, 18 Oct 2011 16:03:46 -0500
Message-ID: <4E9DA36202000025000421E7@gw.wicourts.gov> (raw)
In-Reply-To: <8EDB6E83019BEC4B9153122CFB928AF001F6463C4B84@MAILBOX.staff.aber.ac.uk>
References: <8EDB6E83019BEC4B9153122CFB928AF001F6463C4B5D@MAILBOX.staff.aber.ac.uk>
	<4E9D628A0200002500042183@gw.wicourts.gov>
	<8EDB6E83019BEC4B9153122CFB928AF001F6463C4B84@MAILBOX.staff.aber.ac.uk>

"Alexander James Spence [axs]" <axs@aber.ac.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



view thread (4+ messages)

Message-ID: <4E9DA36202000025000421E7@gw.wicourts.gov>
Permalink:  ../4E9DA36202000025000421E7@gw.wicourts.gov/
Also on:    postgresql.org/message-id/4E9DA36202000025000421E7@gw.wicourts.gov

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: Kevin.Grittner@wicourts.gov, axs@aber.ac.uk
  Subject: Re: Privileges question
  In-Reply-To: <4E9DA36202000025000421E7@gw.wicourts.gov>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox