| От | Tom Lane |
|---|---|
| Тема | Re: pg_regress: stat correct paths |
| Дата | |
| Msg-id | 23145.1196098941@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: pg_regress: stat correct paths (Jorgen Austvik <Jorgen.Austvik@Sun.COM>) |
| Ответы |
Re: pg_regress: stat correct paths
|
| Список | pgsql-patches |
Jorgen Austvik <Jorgen.Austvik@Sun.COM> writes:
> But if we have set srcdir, the directory we are stat'ing, is not the
> same directory that we are reading the files from:
Ah. The reason this works in VPATH mode is that setup of the build tree
duplicated all subdirectories of the source tree, so ./input/ should
exist iff $srcdir/input/ does. I agree it's a bit ugly though; it'd
be better to stat what we really plan to read.
Maybe push the stat operation inside convert_sourcefiles_in ?
regards, tom lane
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера