Re: pg_regress inputdir

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Jorgen Austvik - Sun Norway <Jorgen(dot)Austvik(at)Sun(dot)COM>, Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_regress inputdir
Date: 2008-09-09 17:58:45
Message-ID: 20080909175845.GE4223@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut wrote:

> There is interest among packagers to run the regression tests or other
> tests after the build. The Red Hat RPMs have shipped a postgresql-test
> package for years with a hacked-up makefile that will probably overwrite
> random files that it shouldn't in /usr/lib. So I would rather be in
> favor of coming up with a solution that would make this work rather than
> removing the options. The solution would probably be adding another
> option to place the generated files, but the exact behavior would need
> to be worked out.

Hmm. I took a look at the RPM makefiles and patches, and it doesn't
seem like changing this part of pg_regress would solve anything. The
RPM changes are about shared libraries, whereas this is just about
moving the generated files (equivalent to those in the "sql" directory).

For an example of the hacked-up makefiles and stuff, see here:
https://projects.commandprompt.com/public/pgcore/browser/rpm/redhat/8.3/postgresql/F-9/

The relevant files are Makefile.regress, postgresql-test.patch, and
postgresql-8.3.spec (lines 440ff).

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Lawrence, Ramon 2008-09-09 18:21:09 Potential Join Performance Issue
Previous Message Pavel Stehule 2008-09-09 17:32:31 Re: Common Table Expressions (WITH RECURSIVE) patch