Re: patch review : Add ability to constrain backend temporary file space

Mark Kirkwood <mark.kirkwood@catalyst.net.nz>

From: Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
To: Cédric Villemain <cedric.villemain.debian@gmail.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2011-06-01T00:46:18Z
Lists: pgsql-hackers
On 01/06/11 12:32, Mark Kirkwood wrote:
> On 01/06/11 12:27, Mark Kirkwood wrote:
>>
>> Re the code comments - I agree with most of them. However with 
>> respect to the Guc units, I copied the setup for work_mem as that 
>> seemed the most related.
>
> Also - forget to mention - I *thought* you could specify the temp 
> files size GUC as KB, MB, GB or plain old pages, but I'll check this, 
> in case I've busted it somehow.
>

Doh, ignore me here :-( You are correct - I've specified GUC_UNITS_KB 
(copying work_mem) - it is easy enough to allow pages like shared_buffers.

Cheers

Mark