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

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

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Mark Kirkwood <mark.kirkwood@catalyst.net.nz>, Cédric Villemain <cedric.villemain.debian@gmail.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2011-06-02T14:36:10Z
Lists: pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> So I'm not sure work_disk is a great name.

I agree.  Maybe something along the lines of "temp_file_limit"?

Also, once you free yourself from the analogy to work_mem, you could
adopt some more natural unit than KB.  I'd think MB would be a practical
unit size, and would avoid (at least for the near term) the need to make
the parameter a float.

			regards, tom lane