Re: Version defines
От | Tom Lane |
---|---|
Тема | Re: Version defines |
Дата | |
Msg-id | 28960.1099244999@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: Version defines (James William Pye <flaw@rhid.com>) |
Ответы |
Re: Version defines
|
Список | pgsql-hackers |
James William Pye <flaw@rhid.com> writes: >> At compile time, you should be checking the specific feature you care >> about, > Well, for one of my uses, it is not a feature check. My PL loads a > Python extension module whose path is dependent on the major and minor > version of the PostgreSQL installation that the PL was compiled against. > So I construct the module path string based on the major and minor at > compile time. Er ... can't you just keep it in pkglibdir and refer to it via $libdir? Given that 8.0 now supports relocatable installations, I'd think it best to avoid hardwiring any paths at compile time. regards, tom lane
В списке pgsql-hackers по дате отправления: