Re: pg_regress: stat correct paths

From: Jorgen Austvik <Jorgen(dot)Austvik(at)Sun(dot)COM>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: pg_regress: stat correct paths
Date: 2007-11-26 17:48:52
Message-ID: 474B0704.6060108@sun.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Brendan Jurd 2007-11-26 20:42:21 Re: [GENERAL] Empty arrays with ARRAY[]
Previous Message Tom Lane 2007-11-26 17:42:21 Re: pg_regress: stat correct paths