Re: Locating sharedir in PostgreSQL on Windows
От | Tom Lane |
---|---|
Тема | Re: Locating sharedir in PostgreSQL on Windows |
Дата | |
Msg-id | 5034.1196118065@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: Locating sharedir in PostgreSQL on Windows (Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>) |
Список | 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 по дате отправления: