Re: pgsql: Improve error handling in RemovePgTempFiles().

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql: Improve error handling in RemovePgTempFiles().
Дата
Msg-id 30564.1515378145@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pgsql: Improve error handling in RemovePgTempFiles().  (Thomas Munro <thomas.munro@enterprisedb.com>)
Список pgsql-committers
Thomas Munro <thomas.munro@enterprisedb.com> writes:
> On Mon, Jan 8, 2018 at 2:41 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Hearing no comments, I did it the first way.

> It's funny that the two boolean arguments are always opposite.
> They're essentially both saying "top level?".

Yeah.  I thought about using a single "bool top_level" argument instead,
but concluded that this way is clearer and potentially more flexible.
There are other places where we have similar cases of flag arguments
that are redundant in current usage, but we leave it like that for
clarity as to what the function's API spec is.

            regards, tom lane


В списке pgsql-committers по дате отправления:

Предыдущее
От: Thomas Munro
Дата:
Сообщение: Re: pgsql: Improve error handling in RemovePgTempFiles().
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: pgsql: Implement channel binding tls-server-end-point for SCRAM