Re: Nitpicking: unnecessary NULL-pointer check in pg_upgrade's controldata.c

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Nitpicking: unnecessary NULL-pointer check in pg_upgrade's controldata.c
Дата
Msg-id CA+TgmobhJqHJR=0uLFOZ5Zn7VwpDGsF0d8LXQ+QQopMOZ+3efQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Nitpicking: unnecessary NULL-pointer check in pg_upgrade's controldata.c  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Fri, Jun 26, 2015 at 10:54 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Well, if you find this to be good code cleanup on its own merits,
> you have a commit bit, you can go commit it.  I'm just saying that
> Coverity is not a good judge of code readability and even less of
> a judge of likely future changes.  So we should not let it determine
> whether we approve of "unnecessary" tests.

Yes, it might not be right in every case, but this one seems like a
good change to me, so committed.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



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

Предыдущее
От: Fabien COELHO
Дата:
Сообщение: Re: Re: Let PostgreSQL's On Schedule checkpoint write buffer smooth spread cycle by tuning IsCheckpointOnSchedule?
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: Nitpicking: unnecessary NULL-pointer check in pg_upgrade's controldata.c