Re: Dead code in ps_status.c

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Dead code in ps_status.c
Дата
Msg-id 2203806.1676525640@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Dead code in ps_status.c  (Thomas Munro <thomas.munro@gmail.com>)
Ответы Re: Dead code in ps_status.c  (Thomas Munro <thomas.munro@gmail.com>)
Список pgsql-hackers
Thomas Munro <thomas.munro@gmail.com> writes:
> Therefore I think it is safe to drop the PS_USE_PS_STRING and
> PS_USE_CHANGE_ARGV code branches, remove a bunch of outdated comments
> and macro tests, and prune the defunct configure/meson probe.

Seems reasonable.  Patch passes an eyeball check.

> I guess (defined(sun) && !defined(BSD)) || defined(__svr5__) could be
> changed to just defined(sun) (surely there are no other living
> SysV-derived systems, and I think non-BSD Sun probably meant "Solaris
> but not SunOS"), but I don't know so I didn't touch that.

Hm, is "defined(sun)" true on any live systems at all?

            regards, tom lane



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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: DDL result is lost by CREATE DATABASE with WAL_LOG strategy
Следующее
От: Amul Sul
Дата:
Сообщение: remove duplicate comment.