Re: dynamic_library_path on Win32

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: dynamic_library_path on Win32
Дата
Msg-id 40B8E68F.8060206@dunslane.net
обсуждение исходный текст
Ответ на Re: dynamic_library_path on Win32  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers

Tom Lane wrote:

>"Thomas Hallgren" <thhal@mailblocks.com> writes:
>  
>
>>I'm using CVS HEAD in a windows environment. I'm trying to start the
>>postmaster using "postmaster -c dynamic_library_path=C:/foo/bar". It starts
>>just fine, then, when I ask it to load a module, an error is generating
>>stating:
>>    
>>
>
>  
>
>>ERROR: component in parameter "dynamic_library_path" is not an absolute path
>>    
>>
>
>  
>
>>I added a trace to find out what it thinks the path is. It prints "C".
>>Obviously it treats ':' as a path separator somewhere.
>>    
>>
>
>Yeah.  dynamic_library_path follows the universal Unix convention that
>search path components are separated by ':'.  Is there any equivalent
>convention in Windows?
>
>  
>

src/port/exec.c has this:


#ifdef WIN32
#define PATHSEP ';'
#else
#define PATHSEP ':'
#endif

It should probably move to c.h.

cheers

andrew






В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Thomas Hallgren"
Дата:
Сообщение: Re: dynamic_library_path on Win32
Следующее
От: Greg Stark
Дата:
Сообщение: Re: Extended customizing, SQL functions,