Skip site navigation (1) Skip section navigation (2)

Re: installdir patch for win32

From: "Andrew Dunstan" <andrew(at)dunslane(dot)net>
To: <pgsql-patches(at)postgresql(dot)org>
Subject: Re: installdir patch for win32
Date: 2004-03-25 13:21:46
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-patches
Peter Eisentraut said:
> Claudio Natoli wrote:
>> For application to HEAD, following community review.
>> Supplement to previous win32 patch for dfmgr. Win32 replacement for
>> configure time constants like PKGLIBDIR.
> + /*
> +  * Determine the directory of installed files, on the assumption that
> +  * win32 will have a common root directory for all pgsql
> subdirectories +  * (eg. lib, bin, share, etc).
> +  */
> What happens if this assumption does not hold?

Things will break ...

The problem is that we need to be able to create a binary installer for
Windows where the location is not known until install time. This is common
Windows practice, and Windows admins rightly hate packages that have
hardcoded install paths. But to do that we need to be able to make a
couple of assumptions about things which in our current setup are
determined at configure time. In practice it is not likely to be a big

This was discussed in win32-hackers, and the consensus was that this was a
reasonable price to pay, IIRC.



In response to

pgsql-patches by date

Next:From: Fabien COELHODate: 2004-03-25 15:42:04
Subject: [NOT] (LIKE|ILIKE) (ANY|ALL) (...)
Previous:From: Peter EisentrautDate: 2004-03-25 11:25:16
Subject: Re: installdir patch for win32

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group