Re: Index build temp files

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Simon Riggs <simon@2ndQuadrant.com>
Cc: Stephen Frost <sfrost@snowman.net>, Bruce Momjian <bruce@momjian.us>, pgsql-hackers@postgresql.org
Date: 2013-01-09T22:09:54Z
Lists: pgsql-hackers
Simon Riggs <simon@2ndQuadrant.com> writes:
> On 9 January 2013 21:42, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> If we were designing this from scratch I'd agree that a separate TEMP
>> privilege would be a good thing.  But bolting one on now is likely
>> to create more problems than it fixes.  Particularly since it doesn't
>> actually fix any of the concrete problems enumerated in this thread.
>> 
>> I continue to think that getting rid of the privilege check would be
>> a more useful answer than changing which privilege is tested.

> I wasn't suggesting that we test for TEMP instead of CREATE; what I
> meant was we would test for CREATE *OR* TEMP to give more options for
> management.

[ shrug... ]  That's weird, ie unlike the behavior of other privileges,
and it *still* doesn't fix any of the problems Stephen complained of.

			regards, tom lane