Re: MSVC installs too much stuff?

From: Craig Ringer <craig(at)2ndquadrant(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com>, PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: MSVC installs too much stuff?
Date: 2020-01-31 06:05:16
Message-ID: CAMsr+YHcFotMWF3e6eguYzZL2X0qYkVH2ni_t3pBZNe34s12Sg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, 31 Jan 2020 at 13:27, Michael Paquier <michael(at)paquier(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Craig Ringer 2020-01-31 06:10:41 Re: Unix-domain socket support on Windows
Previous Message Michael Paquier 2020-01-31 05:46:16 Re: Proposal: Add more compile-time asserts to expose inconsistencies.