spurious use of %m format in pg_upgrade

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема spurious use of %m format in pg_upgrade
Дата
Msg-id 1310011393.17968.1.camel@vanquo.pezone.net
обсуждение исходный текст
Ответы Re: spurious use of %m format in pg_upgrade
Re: spurious use of %m format in pg_upgrade
Список pgsql-hackers
pg_upgrade's pg_scandir_internal() makes use of the non-standard %m
format:
   pg_log(PG_FATAL, "could not open directory \"%s\": %m\n", dirname);

Is this an oversight, or is there an undocumented assumption that this
code will only be used on platforms where %m works?

(Which platforms don't have scandir() anyway?)




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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: 9.2 CF2: 20 days in
Следующее
От: Tom Lane
Дата:
Сообщение: Re: spurious use of %m format in pg_upgrade