Re: dynamic_library_path on Win32

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: dynamic_library_path on Win32
Date: 2004-05-29 19:37:51
Message-ID: 40B8E68F.8060206@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Tom Lane wrote:

>"Thomas Hallgren" <thhal(at)mailblocks(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message vicky 2004-05-29 20:26:13 Embedded SQL - Unable to connect to PostgreSQL Database
Previous Message Christopher Browne 2004-05-29 18:59:22 Re: Win32, PITR, nested transactions, tablespaces

Browse pgsql-patches by date

  From Date Subject
Next Message Serguei Mokhov 2004-05-29 21:50:12 Translations updates for 7.5: initdb-ru.po
Previous Message Matthew T. O'Connor 2004-05-29 19:18:55 Re: Moving pg_autovacuum from contrib to src/bin