Re: Re: [COMMITTERS] pgsql: Allow pg_regress to be run outside the build tree.

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Bjorn Munch <Bjorn(dot)Munch(at)sun(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Re: [COMMITTERS] pgsql: Allow pg_regress to be run outside the build tree.
Date: 2009-01-08 03:24:54
Message-ID: 200901080324.n083Osj14640@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers


Is this a TODO?

---------------------------------------------------------------------------

Bjorn Munch wrote:
> On 02/10 17.29, Peter Eisentraut wrote:
> > Tom Lane wrote:
> > >>I think the right fix would be to convert those .sql files to
> > >>input/*.source files and have pg_regress substitute the absolute
> > >>directory names in them, like it is done for the backend.
> > >
> > >Ugh. I don't think it's acceptable to make contrib modules have to do
> > >that. Even if we fix all the ones in core, what of other people relying
> > >on the pgxs infrastructure?
> >
> > Yeah, true. Maybe copy the data directory over, but let pg_regress do it?
>
> For the record: when I integrated the pg_regress test suite (8.3.3)
> into OpenSolaris recently, I worked around various problems by making
> a wrapper script pg_regress.sh which copies everything into a
> temporary directory structure and then runs pg_regress from there.
>
> This involved creating three levels of dummy directories due to some
> hardcoded "../../../" in paths. A bit ugly, but then this package
> isn't to be included in the standard distribution to end users, but
> will be used by Solaris QA.
>
> --
> Bjorn Munch Sun Microsystems
> Trondheim, Norway http://sun.com/postgresql/
>
> --
> Sent via pgsql-hackers mailing list (pgsql-hackers(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Dave Page 2009-01-08 09:56:31 edb-debugger - server: Fix the debugger plugin following the header
Previous Message Bruce Momjian 2009-01-08 00:44:18 pgsql: Document current_query() as being the _client_ query.

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2009-01-08 03:30:55 Re: Common Table Expressions applied; some issues remain
Previous Message Bruce Momjian 2009-01-08 03:20:04 Re: Meridiem markers (was: [BUGS] Incorrect "invalid AM/PM string" error from to_timestamp)