| От | Tom Lane |
|---|---|
| Тема | Re: pg_regress breaks on msys |
| Дата | |
| Msg-id | 14863.1153334417@sss.pgh.pa.us обсуждение |
| Ответ на | Re: pg_regress breaks on msys (Andrew Dunstan <andrew@dunslane.net>) |
| Список | pgsql-hackers |
After looking at the presumably-working uses of system() in initdb and
pg_ctl, I have a theory about the pg_regress problem --- could it be
that Windows system() requires a space between I/O redirection symbols
and pathnames? I see that the pre-existing code consistently puts one,
except in cases like "2>&1":
snprintf(cmd, MAXPGPATH, "%s\"%s\" %s%s < \"%s\" >> \"%s\" 2>&1 &%s", SYSTEMQUOTE, postgres_path,
pgdata_opt,post_opts, DEVNULL, log_file, SYSTEMQUOTE);
but there's nothing in our docs saying this is necessary ...
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера