Re: MSVC installs too much stuff? - Mailing list pgsql-hackers

From Craig Ringer
Subject Re: MSVC installs too much stuff?
Date
Msg-id CAMsr+YHcFotMWF3e6eguYzZL2X0qYkVH2ni_t3pBZNe34s12Sg@mail.gmail.com
Whole thread Raw
In response to Re: MSVC installs too much stuff?  (Michael Paquier <michael@paquier.xyz>)
Responses Re: MSVC installs too much stuff?  (Andrew Dunstan <andrew.dunstan@2ndquadrant.com>)
List pgsql-hackers
On Fri, 31 Jan 2020 at 13:27, Michael Paquier <michael@paquier.xyz> wrote:
>
> On Fri, Jan 31, 2020 at 12:47:29PM +1030, Andrew Dunstan wrote:
> > When I was working on the test_json stuff yesterday, I noticed that
> > there are some unexpected (by me at least) things installed when we do
> > an MSVC build:
> >
> > $ ls -l bin| egrep 'regress|isolation'
> > -rwxr-xr-x 1 pgrunner None   72192 Jan 30 07:51 isolationtester.exe
> > -rwxr-xr-x 1 pgrunner None  112640 Jan 30 07:51 pg_isolation_regress.exe
> > -rwxr-xr-x 1 pgrunner None  112128 Jan 30 07:51 pg_regress.exe
> > -rwxr-xr-x 1 pgrunner None  112640 Jan 30 07:51 pg_regress_ecpg.exe

These tools should be installed. They are useful, important in fact,
for testing extensions.

In *nix builds we install them to
$PREFIX/lib/postgresql/pgxs/src/test/regress/pg_regress etc.

On Windows we don't have PGXS. It probably doesn't make sense to
install them to the pgxs dir. So putting them in bin is pretty
reasonable.

-- 
 Craig Ringer                   http://www.2ndQuadrant.com/
 2ndQuadrant - PostgreSQL Solutions for the Enterprise



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Proposal: Add more compile-time asserts to exposeinconsistencies.
Next
From: Craig Ringer
Date:
Subject: Re: Unix-domain socket support on Windows