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