Re: pg_regress: stat correct paths

Поиск
Список
Период
Сортировка
От Jorgen Austvik
Тема Re: pg_regress: stat correct paths
Дата
Msg-id 474B0704.6060108@sun.com
обсуждение исходный текст
Ответ на Re: pg_regress: stat correct paths  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pg_regress: stat correct paths  (Jorgen Austvik - Sun Norway <Jorgen.Austvik@Sun.COM>)
Список pgsql-patches
Tom Lane wrote:
> 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 ?

Yes, that was what I tried to do in the patch, but unfortunately I was
too eager :) I'll send a new proposal tomorrow. Thanks for your help!

-J
--
Jørgen Austvik, Software Engineering
Database Technology Group


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_regress: stat correct paths
Следующее
От: Tom Lane
Дата:
Сообщение: Proposed patch to fix plpgsql's handling of block labels