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