pgsql: Remove dead getrusage replacement code.
От | Thomas Munro |
---|---|
Тема | pgsql: Remove dead getrusage replacement code. |
Дата | |
Msg-id | E1oFMiM-000w7Z-L9@gemulon.postgresql.org обсуждение исходный текст |
Список | pgsql-committers |
Remove dead getrusage replacement code. getrusage() is in SUSv2 and all targeted Unix systems have it. Note that POSIX only covers ru_utime and ru_stime and we rely on many more fields without any kind of configure probe, but that predates this commit. The only supported system we need replacement code for now is Windows, and that can be done without a configure probe. Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Reviewed-by: Greg Stark <stark@mit.edu> Reviewed-by: Robert Haas <robertmhaas@gmail.com> Discussion: https://postgr.es/m/CA+hUKGJ3LHeP9w5Fgzdr4G8AnEtJ=z=p6hGDEm4qYGEUX5B6fQ@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/86e5eb4f58a276870fbd29e3711b36e4a4280979 Modified Files -------------- configure | 19 ++++++------------ configure.ac | 2 +- src/backend/tcop/postgres.c | 13 +++++++++--- src/include/pg_config.h.in | 3 --- src/include/rusagestub.h | 3 --- src/port/getrusage.c | 49 +++------------------------------------------ src/tools/msvc/Solution.pm | 1 - 7 files changed, 20 insertions(+), 70 deletions(-)
В списке pgsql-committers по дате отправления: