Pavel Stehule <pavel.stehule@gmail.com> writes:
> I did a backport of temp_file_limit feature to 9.1, but when we tested
> this patch, we found very restristrictive limit to 2GB.
> 2GB is nonsense, because this is session limit of temp files, and
> these files should be longer than 2GB.
This claim is nonsense. The variable's value is measured in KB, so the
effective limit is actually 2TB not 2GB.
regards, tom lane