Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 878441337B97 for ; Fri, 4 Feb 2011 15:26:21 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 54710-08 for ; Fri, 4 Feb 2011 19:26:14 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from gw.wicourts.gov (gwmta.wicourts.gov [165.219.244.99]) by mail.postgresql.org (Postfix) with ESMTP id EE9FE1337BA0 for ; Fri, 4 Feb 2011 15:26:12 -0400 (AST) Received: from Courts-MTA by gw.wicourts.gov with Novell_GroupWise; Fri, 04 Feb 2011 13:26:12 -0600 Message-Id: <4D4BFE6A020000250003A3FF@gw.wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 8.0.1 Date: Fri, 04 Feb 2011 13:26:02 -0600 From: "Kevin Grittner" To: "Sandra Arnold" , "pgsql-admin@postgresql.org" Subject: Re: Changing default tablespace for specific users -- Is it possible? References: <54E5385D47A89542BC678F5426799F3904EED3A6F8@OSTIEX01.osti.gov> In-Reply-To: <54E5385D47A89542BC678F5426799F3904EED3A6F8@OSTIEX01.osti.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.511 tagged_above=-10 required=5 tests=BAYES_00=-1.9, FRT_ROLEX=2.699, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201102/22 X-Sequence-Number: 36661 "Arnold, Sandra" wrote: > Coming from the Oracle world we were able to have a different > default tablespace for each user or for a group of users. Can you > set the default tablespace to be different for a group > users/schemas in PostgreSQL? ALTER ROLE xxx SET default_tablespace = yyy; http://www.postgresql.org/docs/current/interactive/sql-alterrole.html -Kevin