Re: [HACKERS] pg_regress in C

Поиск
Список
Период
Сортировка
От Joachim Wieland
Тема Re: [HACKERS] pg_regress in C
Дата
Msg-id 48f3732e27da5feff73b5b2246f85766@
обсуждение исходный текст
Ответ на Re: pg_regress in C  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
On July 18, 1:06 am Tom Lane <tgl@sss.pgh.pa.us> wrote:
> "Magnus Hagander" <mha@sollentuna.net> writes:
> >  Per discussion at the conference:
> >  In order to run the regression tests on Windows without msys,
> >  pg_regress needs to be reimplemnted in C.
>
> This has some minor portability issues (macros with ... aren't portable,
> for instance) but I think it's something we need to do.  Barring
> objections I'm going to clean up and apply it.

I've sent Magnus a patch a few days ago (but he seems to be without
internet connection already), maybe it can help you. I just fixed it such
that it worked for my non-standard install path.


I also did a small patch for the Makefile to compile and call pg_regress.

I append both patches (and hence won't send this mail to -hackers)

I also proposed to make pg_regress more modular some time ago:

http://archives.postgresql.org/pgsql-patches/2006-06/msg00212.php

A similar approach should be kept in mind as an enhancement to the C version.


Joachim

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_regress in C
Следующее
От: Joe Conway
Дата:
Сообщение: Re: [HACKERS] 8.2 features?