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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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:

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

Alvaro Herrera
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to


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