Thread: pg_regress input/output directory option

pg_regress input/output directory option

From
Michael Paquier
Date:
Hi all,<br /><br />Why are there no options in_regress to specify the directory where input and output data are
located?<br/>Such options would bring more flexibility when running regressions without make check/installcheck for an
externalapplication.<br /> Is there a particular reason for that? Or do you think that pg_regress should be only used
withmake check?<br /><br />Regards,<br />-- <br />Michael Paquier<br /><a href="http://michael.otacoo.com"
target="_blank">http://michael.otacoo.com</a><br/> 

Re: pg_regress input/output directory option

From
Robert Haas
Date:
On Wed, Sep 28, 2011 at 12:21 AM, Michael Paquier
<michael.paquier@gmail.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


Re: pg_regress input/output directory option

From
Michael Paquier
Date:
On Fri, Sep 30, 2011 at 12:37 AM, Robert Haas <robertmhaas@gmail.com> wrote:
On Wed, Sep 28, 2011 at 12:21 AM, Michael Paquier
<michael.paquier@gmail.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