Re: pg_regress breaks on msys

Поиск
Список
Период
Сортировка
От 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 по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: pg_regress breaks on msys
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: lastval exposes information that currval does not