Re: Locating sharedir in PostgreSQL on Windows - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Locating sharedir in PostgreSQL on Windows
Date
Msg-id 5034.1196118065@sss.pgh.pa.us
Whole thread Raw
In response to Re: Locating sharedir in PostgreSQL on Windows  (Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>)
List pgsql-hackers
Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> writes:
> Okay, I'll try and expand on this a bit. In order to convert coordinates
> between different coordinate systems, PostGIS uses the external PROJ.4
> library. Now in order to support a certain category of conversion,
> PROJ.4 requires access to a set of library grid reference files which
> are effectively "compiled" from source files into a set of data files as
> part of the build process. The path to this directory of files is then
> built into the DLL at compile time, although it can be overriden with an
> API call.

> Under Linux, this is fairly easy as the files are normally installed
> somewhere under /usr/share/proj, and hence the directory exists at both
> compile-time and run-time.

OK, if the files are normally under /usr/share then it's presumably
kosher to put them under our $sharedir.  I guess the only question is
whether you are worried about having two copies in a machine where
PROJ.4 is also installed natively.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Replacement Selection
Next
From: Simon Riggs
Date:
Subject: Re: 8.3devel slower than 8.2 under read-only load