pg_regress input/output directory option

Lists: pgsql-hackers
From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: pg_regress input/output directory option
Date: 2011-09-28 04:21:13
Message-ID: CAB7nPqQYCw8nh7air0aM3iw+xhqmSHVXqJM17gx3Xb=1V-AgYw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Hi all,

Why are there no options in_regress to specify the directory where input and
output data are located?
Such options would bring more flexibility when running regressions without
make check/installcheck for an external application.
Is there a particular reason for that? Or do you think that pg_regress
should be only used with make check?

Regards,
--
Michael Paquier
http://michael.otacoo.com


From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_regress input/output directory option
Date: 2011-09-29 15:37:56
Message-ID: CA+TgmoaS29cHFMLjX+xi9FPy=VouOCMnZyjAQkqShH=Fci6fKw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Wed, Sep 28, 2011 at 12:21 AM, Michael Paquier
<michael(dot)paquier(at)gmail(dot)com> wrote:
> Why are there no options in_regress to specify the directory where input and
> output data are located?
> Such options would bring more flexibility when running regressions without
> make check/installcheck for an external application.
> Is there a particular reason for that? Or do you think that pg_regress
> should be only used with make check?

It has --inputdir and --outputdir - is that not what you need?

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_regress input/output directory option
Date: 2011-09-29 23:27:08
Message-ID: CAB7nPqTvd+zGFw2whkhj_2dJESUG+S5BawPVYi9ddNy4pRMi-g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Fri, Sep 30, 2011 at 12:37 AM, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:

> On Wed, Sep 28, 2011 at 12:21 AM, Michael Paquier
> <michael(dot)paquier(at)gmail(dot)com> wrote:
> > Why are there no options in_regress to specify the directory where input
> and
> > output data are located?
> > Such options would bring more flexibility when running regressions
> without
> > make check/installcheck for an external application.
> > Is there a particular reason for that? Or do you think that pg_regress
> > should be only used with make check?
>
> It has --inputdir and --outputdir - is that not what you need?
>
Yes thanks.

Regards,

Michael