Re: Index build temp files

Simon Riggs <simon@2ndquadrant.com>

From: Simon Riggs <simon@2ndQuadrant.com>
To: Stephen Frost <sfrost@snowman.net>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Bruce Momjian <bruce@momjian.us>, pgsql-hackers@postgresql.org
Date: 2013-01-09T21:08:55Z
Lists: pgsql-hackers
On 9 January 2013 20:53, Stephen Frost <sfrost@snowman.net> wrote:
> * Simon Riggs (simon@2ndQuadrant.com) wrote:
>> I think we need to allow a TEMP permission on tablespaces, so that you
>> aren't allowed to create normal objects but you can create TEMP
>> objects and sort files there.
>
> I agree that this would be valuable.  Would we end up needing to burn
> another bit off the aclmask though?  That's certainly been a concern in
> the past and I don't recall that we ever improved that situation.

There already is a TEMP permission, it just only applies to databases
at present.

>> I think SHOW temp_tablespaces should only show the valid tablespaces,
>> not all of the ones actually listed in the parameter, otherwise you
>> have no clue that the parameter setting is ineffectual for you.
>
> I like this as well.


-- 
 Simon Riggs                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services