Re: refactoring basebackup.c (zstd workers)

Поиск
Список
Период
Сортировка
От Justin Pryzby
Тема Re: refactoring basebackup.c (zstd workers)
Дата
Msg-id 20220330202748.GJ28503@telsasoft.com
обсуждение исходный текст
Ответ на Re: refactoring basebackup.c (zstd workers)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Wed, Mar 30, 2022 at 04:14:47PM -0400, Tom Lane wrote:
> Robert Haas <robertmhaas@gmail.com> writes:
> >> Maybe if I just put that last sentence into the comment it's clear enough?
> 
> > Done that way, since I thought it was better to fix the bug than wait
> > for more feedback on the wording. We can still adjust the wording, or
> > the coding, if it's not clear enough.
> 
> FWIW, I thought that explanation was fine, but I was deferring to
> Justin who was the one who thought things were unclear.

I still think it's unnecessarily confusing to nest "if" and "?:" conditionals
in one statement, instead of 2 or 3 separate "if"s, or "||"s.
But it's also not worth fussing over any more.



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Add 'basebackup_to_shell' contrib module.
Следующее
От: James Coleman
Дата:
Сообщение: Re: Correct docs re: rewriting indexes when table rewrite is skipped