Re: pg_regress inputdir

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: pg_regress inputdir
Дата
Msg-id 20080909175845.GE4223@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: pg_regress inputdir  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: pg_regress inputdir
Список 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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Pavel Stehule"
Дата:
Сообщение: Re: Common Table Expressions (WITH RECURSIVE) patch
Следующее
От: "Lawrence, Ramon"
Дата:
Сообщение: Potential Join Performance Issue