Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group