Re: [HACKERS] Patch to log usage of temporary files - Mailing list pgsql-patches

From Andrew Dunstan
Subject Re: [HACKERS] Patch to log usage of temporary files
Date
Msg-id 459D1082.4080305@dunslane.net
Whole thread Raw
In response to Re: [HACKERS] Patch to log usage of temporary files  (Bill Moran <wmoran@collaborativefusion.com>)
List pgsql-patches
Bill Moran wrote:
> In response to "Andrew Dunstan" <andrew@dunslane.net>:
>
>
>> Bill Moran wrote:
>>
>>> Andrew Dunstan <andrew@dunslane.net> wrote:
>>>
>>>> Bill Moran wrote:
>>>>
>>>>> +         if (trace_temp_files != -1)
>>>>>
>>>>>
>>>> Might be more robust to say
>>>>
>>>>     if (trace_temp_files >= 0)
>>>>
>>> Because it would allow for the easy addition of more negative numbers
>>> with magic value?
>>>
>> because ISTM any negative number here should mean no action is to be
>> taken. Otherwise how else is it different from 0?
>>
>
> ??
>
> I specified in the GUC config that minimum allowable value is -1.
>
>


OK, missed that, sorry. Please return to normal viewing ...

cheers

andrew

pgsql-patches by date:

Previous
From: "Simon Riggs"
Date:
Subject: wal_checksum = on (default) | off
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] Patch to log usage of temporary files